import type { CommonGeneratorOptions } from "./generators/common/index.js"; import type { GrantOptions, UserScriptManagerName } from "./generators/index.js"; export type RunAtOption = "start" | "end" | "idle" | "body" | "menu"; export type GeneratorOptions = CommonGeneratorOptions & { collapse: boolean; custom?: string[]; direct?: boolean; downloadURL?: string; eol?: string; excludes?: string[]; fix?: boolean; grants?: T[]; homepage?: string; inject?: string; lint?: boolean; matches?: string[]; output: string; packagePath: string; pretty?: boolean; requires?: string[]; run?: RunAtOption; spaces?: number; updateURL?: string; whitelist?: ("self" | "localhost" | "*")[] | string[]; }; export interface WriteHeadersOptions { cli: boolean; direct: boolean; eol?: string; output: string; } export declare const managersSupportingHomepage: Set; export declare const writeHeaders: (content: string, options: WriteHeadersOptions) => Promise; export declare const generate: (type: UserScriptManagerName, options: GeneratorOptions, cli?: boolean) => Promise;