import type { Command } from '../args.js'; import type { Profile } from '../profiles.js'; import { type Io } from '../output.js'; import { type VerbServerFactory } from './fetch.js'; /** * `fpx write-cookies` — set cookies the profile already declares. * * Same gap as `fpx capture`: `--allow-cookie-write` derived the * `write_cookies` capability and put it in the pair prompt, and nothing could * then exercise it. Approving a privilege the tool cannot use is worse than * not offering it. * * Two refusals happen HERE rather than at the bridge, so a mistake costs no * round trip and no pair prompt: writing without `--allow-cookie-write` * declared, and writing a name outside the profile's declared `cookies`. The * server enforces the second too — this is the readable copy, not the * security boundary. */ export declare function runWriteCookies(cmd: Extract, profile: Profile, io: Io, makeServer?: VerbServerFactory): Promise;