import type { FlagValue } from '../../commands/spec/types.ts';
/**
 * CPython command-line switches for one run's interpreter flags.
 *
 * For the engines that spawn a real interpreter, honoring these is just
 * handing them back to CPython in its own spelling. `-O` and `-b` repeat
 * rather than taking a number, so level 2 is `-O -O`, which CPython reads
 * exactly as `-OO`. `-u` goes back first: a spawned CPython buffers stdout
 * on a pipe, as it would anywhere. Mirrors Python's init_argv.
 *
 * @param flags the run's interpreter switches (`ctx.flags`).
 */
export declare function initArgv(flags: Readonly<Record<string, FlagValue>>): string[];
/**
 * One stderr line per init switch this runtime cannot act on.
 *
 * A warning rather than a refusal: the line still runs and still
 * reports the program's own exit code, so a script that works on every
 * other runtime keeps working here, while the difference stays visible
 * instead of being found later.
 *
 * @param flags the run's interpreter switches (`ctx.flags`).
 * @param runtimeName the engine's registry name, for the message.
 * @param honored the letters this engine does act on.
 */
export declare function unhonoredNotice(flags: Readonly<Record<string, FlagValue>>, runtimeName: string, honored?: readonly string[]): Uint8Array;
//# sourceMappingURL=flags.d.ts.map