import type { ExecResult as JustBashExecResult } from 'just-bash';
import type { ShellCommandContext } from '../shell-commands';
import type { VirtualFS } from '../virtual-fs';
import { DEFAULT_INFISICAL_DOMAIN, INFISICAL_AUTH_PATH, INFISICAL_CONFIG_PATH } from './infisical-auth';
type InfisicalCtx = Pick<ShellCommandContext, 'cwd' | 'env' | 'signal' | 'writeStdout' | 'writeStderr' | 'onInput' | 'onKeypress'>;
export declare function runInfisicalCommand(args: string[], ctx: InfisicalCtx, vfs: VirtualFS, keychain?: {
    persistCurrentState(): Promise<void>;
} | null): Promise<JustBashExecResult>;
export { DEFAULT_INFISICAL_DOMAIN, INFISICAL_AUTH_PATH, INFISICAL_CONFIG_PATH, };
//# sourceMappingURL=infisical-command.d.ts.map