import type { ProjectState } from '../state/schema.js'; /** Resolves an existing project by name or picker; never creates one. */ export declare function pickExistingProject(name?: string): Promise; export declare function runTopLevel(fn: () => Promise): Promise; /** Formats every command failure without exposing raw upstream bodies, stack traces, or secrets. */ export declare function formatCommandError(err: unknown): string; /** Safe suffix for warnings that already provide operation-specific recovery guidance. */ export declare function supportReference(err: unknown): string | undefined; //# sourceMappingURL=shared.d.ts.map