@:publicFields extern class MSSliceExporter{ //make it overload // static inline function dataForSlice(s:SLICE,format:Dynamic,colorSpace:Dynamic,honorSaveForWeb:Bool):Dynamic{ // return untyped dataForSlice // } // static inline function dataForSlice(s:SLICE,format:Dynamic,colorSpace:Dynamic) // static inline function dataForSlice(s:SLICE:(id)arg1 format:(id)arg2; static inline function dataForSlice(s:MSSliceTrimming.SLICE,format:Dynamic):ns.NSString{ return untyped MSSliceExporter.dataForSlice_format(s,format); } static inline function dataForRequest(arg1:Dynamic):ns.NSString.NSData{ return untyped MSSliceExporter.dataForRequest(arg1); } //static inline function dataForRequest(arg1:Dynamic, ?colorSpace:Dynamic=null, ?honorSaveForWeb:Bool=true):Dynamic{ // return untyped MSSliceExporter.dataForRequest_colorSpace_honorSaveForWeb(arg1,colorSpace,honoSaveForWeb); // } } /* SKETCH3 // // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @class NSColorSpace; @interface MSSliceExporter : NSObject { BOOL _honorSaveForWebPreference; id _delegate; NSColorSpace *_colorSpace; } + (id)dataForSlice:(id)arg1 format:(id)arg2 colorSpace:(id)arg3 honorSaveForWeb:(BOOL)arg4; + (id)dataForSlice:(id)arg1 format:(id)arg2 colorSpace:(id)arg3; + (id)dataForSlice:(id)arg1 format:(id)arg2; @property(nonatomic) BOOL honorSaveForWebPreference; // @synthesize honorSaveForWebPreference=_honorSaveForWebPreference; @property(retain, nonatomic) NSColorSpace *colorSpace; // @synthesize colorSpace=_colorSpace; @property(nonatomic) __weak id delegate; // @synthesize delegate=_delegate; - (void).cxx_destruct; - (void)clearLayerCaches:(id)arg1; - (id)savePanelWithDefaultFilename:(id)arg1 options:(id)arg2; - (id)pathForSavingIndividualSlice:(id)arg1 options:(id)arg2; - (id)openPanelWithOptions:(id)arg1; - (id)directoryPathForSavingMultipleImagesWithOptions:(id)arg1; - (void)displayNoSlicesWarning; - (BOOL)warnForPossiblyOverwritingFilesWithSlices:(id)arg1 toFolder:(id)arg2; - (void)saveSlices:(id)arg1 toFolder:(id)arg2; - (void)exportSlice:(id)arg1; - (void)exportSlices:(id)arg1; - (void)writeSliceWithCurrentSettings:(id)arg1 toPathWithName:(id)arg2; - (void)writeSlice:(id)arg1 toPathWithName:(id)arg2; - (id)makeFilenameProperPathIfNecessary:(id)arg1; - (id)_dataForSlice:(id)arg1 format:(id)arg2; - (id)dataForSlice:(id)arg1 format:(id)arg2; @end */