/** Parse a duration string (`500ms`, `30s`, `5m`, `1h`, `2d`, `1w`, or a * leading-minus disable value like `-1s`) to milliseconds. A bare unitless * number throws: the CLI requires an explicit unit so a value's meaning is * never guessed. The computed milliseconds must be finite — an absurdly * long digit string would otherwise overflow to Infinity, stringify into * the env, and silently install no guard (fail-open on a cost-control * feature). */ export declare function parseDurationMs(s: string): number; /** Resolve --max-cost / --max-time flag strings into the env-var string * values the child reads. Cost stays as dollars; time becomes milliseconds. * Negative/zero pass through — the runtime install applies the disable rule * (cost < 0 disables; time <= 0 disables). */ export declare function resolveBudget(opts: { maxCost?: string; maxTime?: string; }): { maxCost?: string; maxTime?: string; };