/** * OK JSON new JSON payload definition. */ export type OkJsonNewPayload = { /** * JSON string to view in OK JSON. The helper percent-encodes this value into the official `content` query parameter. */ content: string; }; /** * OK JSON run script payload definition. */ export type OkJsonRunScriptPayload = { /** * Custom script file name without the `.js` extension. * * @example 'copy-minified-json' */ scriptFileNameWithoutJsExtension: string; }; export declare function okJsonActionUrl(action: 'paste' | 'history' | 'scripts-panel'): string; export declare function okJsonNewUrl(payload: OkJsonNewPayload): string; export declare function okJsonScriptUrl(payload: OkJsonRunScriptPayload): string;