import { type CompletionShell } from '../render/completion/index.js'; export type CompletionFileKind = 'config' | 'completion'; export interface CompletionTarget { shell: CompletionShell; file: string; kind: CompletionFileKind; } export interface ResolveCompletionTargetOptions { env?: NodeJS.ProcessEnv; home?: string; } export declare const resolveCompletionTarget: (shell: CompletionShell, { env, home }?: ResolveCompletionTargetOptions) => CompletionTarget; export type InstallOutcome = 'added' | 'present' | 'written'; export interface InstallResult { outcome: InstallOutcome; notes: string[]; warnings: string[]; } export declare const installCompletion: (target: CompletionTarget) => Promise;