import type { Classified, FlowLabel, FlowPolicy } from './flow-guard-types.js'; /** * Inside the project: under the hook cwd or under an operator's extra project root. A root that is the filesystem root * or contains the home folder is ignored: it would switch the check off rather than widen the project. */ export declare function inProject(path: string, cwd: string, policy: FlowPolicy): boolean; export declare function classifyShell(command: string): { labels: Set; hosts: string[]; local: boolean; }; /** A credential-like environment variable name: what an operator puts a token in. */ export declare function credentialEnvName(name: string): boolean; /** What credential the shell would expand from its environment: `$GH_TOKEN`, `${API_KEY:-x}`, `printenv NAME`, * indirect `${!NAME}`, a whole-environment dump (`env`, `printenv`, `export -p`, `declare -x`, `set`), or the * process environment file. Quoting does not matter here: single quotes around a name still leave it one `eval` * or `sh -c` away from expansion, and the caller only uses this for shell code it already cannot follow. */ export declare function envCredentialRef(command: string): string | undefined; export declare function classifyCall(toolName: string, input: Record, cwd: string, policy: FlowPolicy, env?: NodeJS.ProcessEnv): Classified; export { INJECTION_HINTS } from './flow-guard-instructions.js'; export declare function resultTaints(toolName: string, input: Record, responseText: string, cwd: string, policy: FlowPolicy, classified: Classified): { untrusted: boolean; private: boolean; src: string; }; //# sourceMappingURL=flow-guard-classify.d.ts.map