export declare function promptScheduleOverwrite(name: string): Promise<boolean>;
export declare class ScheduleExistsError extends Error {
    readonly scheduleName: string;
    constructor(scheduleName: string);
}
export type AddOptions = {
    file: string;
    every?: string;
    cron?: string;
    name?: string;
    envFile?: string;
    baseDir?: string;
    force?: boolean;
    /**
     * Force the github backend. Local backends (launchd / systemd / crontab)
     * are auto-detected and cannot be overridden via this option today.
     */
    backend?: "github";
    /** github backend: extra secrets to wire into the workflow's env block. */
    secrets?: string[];
    /** github backend: grant `contents: write` + `pull-requests: write`. */
    write?: boolean;
    /** github backend: emit `@<tag>` instead of `@<sha>` for action references. */
    noPin?: boolean;
};
export declare function scheduleAdd(opts: AddOptions): void;
export type ListOptions = {
    baseDir?: string;
};
export type ListEntry = {
    name: string;
    agentFile: string;
    schedule: string;
    broken: boolean;
};
export declare function scheduleList(opts: ListOptions): ListEntry[];
export declare function formatListTable(entries: ListEntry[]): string;
export type RemoveOptions = {
    name: string;
    baseDir?: string;
};
export declare function scheduleRemove(opts: RemoveOptions): void;
export type EditOptions = {
    name: string;
    every?: string;
    cron?: string;
    envFile?: string;
    baseDir?: string;
};
export declare function scheduleEdit(opts: EditOptions): void;
