export interface Schedule { /** Filename without `.md` — the identity used on the CLI and in timer labels. */ readonly slug: string; /** Display label from frontmatter `name`; falls back to `slug`. */ readonly name: string; /** Absolute path of the source `.md`. */ readonly path: string; /** Raw cron expression, unparsed. */ readonly cron: string; /** Absolute working directory, `~`/`$HOME` already expanded. */ readonly cwd: string; readonly description?: string; /** The markdown body — the prompt handed to pi. */ readonly prompt: string; } export interface LoadedSchedules { readonly schedules: readonly Schedule[]; readonly warnings: readonly string[]; } /** * The "folder has no `schedule/`" error. `schedules/` is the intuitive guess * for a directory holding many schedules, so when that is what the folder * actually has, name the rename — the same targeted hint `folder.ts` gives for * a legacy `AGENTS.md`. */ export declare function missingScheduleDirError(agentDir: string): Promise; export declare function loadSchedules(scheduleDir: string, home: string): Promise;