import type { CommandContext, ExecResult as JustBashExecResult } from 'just-bash';
import type { VirtualFS } from '../virtual-fs';
export interface PgArgs {
    sql: string;
    json: boolean;
    db: string | undefined;
}
export declare function parsePgArgs(args: string[]): PgArgs;
export declare function classifySQL(sql: string): 'query' | 'exec';
export declare function runPgCommand(args: string[], _ctx: CommandContext, _vfs: VirtualFS): Promise<JustBashExecResult>;
//# sourceMappingURL=pg-command.d.ts.map