/** * Base error class for all Apple Notes export errors. */ export declare abstract class ExportError extends Error { constructor(message: string); } /** * Error thrown when attempting to run on a non-macOS platform. */ export declare class UnsupportedPlatformError extends ExportError { readonly platform: string; constructor(platform: string); } /** * Error thrown when the AppleScript file is not found at the specified path. */ export declare class ScriptNotFoundError extends ExportError { readonly scriptPath: string; constructor(scriptPath: string); } /** * Error thrown when failed to create a temporary file for the embedded script. */ export declare class TempFileError extends ExportError { readonly cause: Error; constructor(cause: Error); } /** * Error thrown when the output directory path is not valid. */ export declare class InvalidPathError extends ExportError { readonly path: string; constructor(path: string); } /** * Error thrown when failed to launch the osascript process. */ export declare class LaunchError extends ExportError { readonly cause: Error; constructor(cause: Error); } /** * Error thrown when the AppleScript exited with a non-zero status code. */ export declare class ScriptFailedError extends ExportError { readonly exitCode: number; readonly stderr?: string; constructor(exitCode: number, stderr?: string); } //# sourceMappingURL=errors.d.ts.map