export type SurgeAction = 'start' | 'stop' | 'toggle'; /** * Surge start/stop/toggle payload definition. */ export type SurgeActionPayload = { /** * Automatically close Surge after the action is completed. * * Cannot be used with `installConfig()`. */ autoclose?: true; }; /** * Surge install-config payload definition. */ export type SurgeInstallConfigPayload = { /** * Remote configuration URL. The helper percent-encodes this value into the official `url` query parameter. */ url: string; }; export declare function surgeActionUrl(action: SurgeAction, payload?: SurgeActionPayload): string; export declare function surgeXCallbackUrl(action: SurgeAction): string;