import { WorkspaceLocalState, WorkspacePreferredOpener, WorkspaceRegistryEntry, WorkspaceRegistryState, WorkspaceSharedState } from '../../core/workspace/index.js'; import { SelectedWorkspace, WorkspaceLinkMutationPayload, WorkspaceListOutput, WorkspaceOutput, WorkspaceStatus } from './types.js'; export declare function readRegistry(): Promise; export declare function directoryExists(dirPath: string): Promise; export declare function resolveExistingDirectory(inputPath: string, cwd?: string): Promise; export declare function inferLinkName(absolutePath: string): string; export declare function validateWorkspaceNameForSetup(name: string): string; export declare function validateLinkNameForCommand(name: string): string; export declare function createManagedWorkspace(name: string, links: Record, preferredOpener?: WorkspacePreferredOpener): Promise; export declare function parseSetupLinks(linkInputs: string[] | undefined): Promise>; export declare function loadWorkspaceForList(entry: WorkspaceRegistryEntry): Promise; export declare function loadWorkspaceForDoctor(selected: SelectedWorkspace): Promise<{ workspace: WorkspaceOutput; status: WorkspaceStatus[]; }>; export declare function readWorkspaceForMutation(selected: SelectedWorkspace): Promise<{ sharedState: WorkspaceSharedState; localState: WorkspaceLocalState; }>; export declare function recordSelectedWorkspaceAfterMutation(selected: SelectedWorkspace): Promise; export declare function addWorkspaceLink(selected: SelectedWorkspace, nameOrPath: string, linkPath?: string): Promise; export declare function updateWorkspaceLink(selected: SelectedWorkspace, linkNameInput: string, linkPath: string): Promise; //# sourceMappingURL=operations.d.ts.map