import type { FileHandlerInfo, FileOpenResult } from "@edenapp/types"; import type { FileOpenManager } from "./FileOpenManager"; /** * FileOpenHandler * * Command endpoints for file opening functionality. */ export declare class FileOpenHandler { private manager; constructor(manager: FileOpenManager); /** * Open a file with its default handler */ handleOpen(args: { path: string; }): Promise; /** * Open a file with a specific app */ handleOpenWith(args: { path: string; appId: string; }): Promise; /** * Get the default handler app for a file path */ handleGetHandler(args: { path: string; }): Promise<{ appId: string | undefined; }>; /** * Set user preference for a file path's default handler */ handleSetDefaultHandler(args: { path: string; appId: string; }): Promise; /** * Remove user preference for a file path (revert to default) */ handleRemoveDefaultHandler(args: { path: string; }): Promise; /** * Get all apps that can handle a specific file path */ handleGetSupportedHandlers(args: { path: string; }): Promise; /** * Get all file type associations */ handleGetAssociations(_args: Record): Promise>; } //# sourceMappingURL=FileOpenHandler.d.ts.map