/**
 * The `BROWSER` helper of one login. `capture` appends the URL the CLI wants to open to a private sink, so senpi can
 * hand it to the client (the desktop opens it on the user's machine); `discard` swallows it for copy-code login.
 * The helper runs nothing but that one write.
 */
export type ClaudeCliBrowserCapture = {
    readonly helperPath: string;
    /** Reads any URL written since the last call; also runs on every sink change. */
    readonly flush: () => void;
    readonly dispose: () => void;
};
export declare function createClaudeCliBrowserCapture(mode: "capture" | "discard", onUrl: (url: string) => void, platform?: NodeJS.Platform): ClaudeCliBrowserCapture;
//# sourceMappingURL=claude-cli-browser-capture.d.ts.map