import type { OutTail } from './flow-guard-types.js'; import { flowPaths } from './flow-guard-paths.js'; export declare function readFp(path: string): Set; export interface FpStores { secret: Set; fp: Set; pii: Set; tok: Set; } export declare function readStores(paths: ReturnType): FpStores; export interface LeakCheck { secret?: string; private?: boolean; pii?: boolean; incomplete?: boolean; } /** `typed`: what the user typed this session. A value the user typed is theirs to send; it is skipped * for ordinary private text, never for secrets. */ export declare function checkLeak(paths: ReturnType, input: Record, typed?: readonly string[], stores?: FpStores): LeakCheck; /** * A value sent in pieces, one call each, is checked whole: each argument name keeps the tail of what it carried, * and the windows that cross from that tail into this call are checked like any other. Only pieces sent back to back * through the same argument join; words between them break the run. Returns the new tails. */ export declare function checkStream(input: Record, tails: Readonly>, stores: FpStores): { leak: LeakCheck; next: Record; }; //# sourceMappingURL=flow-guard-leak.d.ts.map