/** * Split one command line into segments, redirections, and word metadata. * * Operators separate segments so that every command in a compound line is * assessed on its own. Constructs whose effect cannot be read statically — * command substitution, here-documents, grouping, unbalanced quotes — return * `opaque` so callers fail closed instead of guessing shell semantics. */ export declare function decomposeCommandLine(source: any, shell: any): { kind: string; reason: any; } | { kind: string; segments: any[]; }; /** Parse one static shell command. Any executable shell syntax fails closed. */ export declare function parseSimpleCommand(source: any, shell: any): { tokens: any; } | undefined; /** * Hard-deny shell patterns independent of parsing and classifier behavior. * * The whole-line rules stay unconditional because they must also cover a * command line no parser can decompose. The structural rules then judge every * segment of a compound line, so an operator cannot smuggle a protected target * past the fuse. */ export declare function hardDenyShellReason(source: any, shell: any, roots: any): string | undefined; /** * Classify one Bash or PowerShell call after hard-deny evaluation. * * A compound line is assessed segment by segment. Syntax alone never blocks * semantic classification. Only destructive targets hidden behind dynamic or * opaque execution stay on the one-shot human approval path. */ export declare function assessShell(source: any, shell: any, roots: any, artifacts: any, owner: any): any;