export type Parsed = { kind: "task"; task: string; cwd?: string; } | { kind: "shell"; command: string; cwd?: string; } | { kind: "command"; name: string; arg: string; }; /** An @token's directory: absolute, ~/…, or relative to the view's directory. */ export declare function resolveAt(token: string, base: string, home?: string): string | undefined; export declare function parseInput(input: string, base: string): Parsed; /** The @word being typed at the end of the input, if any. */ export declare function atPrefix(input: string): string | undefined; /** * DI-3 completion: child git repositories (one level), the repo's worktrees under * .pi/worktrees/, and directories that already have jobs. Shown relative to base. */ export declare function atCandidates(base: string, jobDirs: string[], prefix?: string): string[]; /** pi's thinking levels for the /thinking picker. */ export declare const THINKING_LEVELS: readonly ["off", "minimal", "low", "medium", "high", "xhigh", "max"];