import * as react_jsx_runtime from 'react/jsx-runtime'; interface VercelCron { path: string; schedule: string; } interface VercelConfig { crons?: VercelCron[]; [key: string]: unknown; } interface ReadVercelJsonOptions { /** * Custom path to vercel.json file * If not provided, will auto-detect in project root */ path?: string; /** * Inline config instead of reading from file */ config?: VercelConfig; /** * Base URL for cron jobs (defaults to http://localhost:3000) */ baseUrl?: string; } interface CronDevPageProps { /** * Custom path to vercel.json file * If not provided, will auto-detect in project root */ vercelJsonPath?: string; /** * Base URL for cron jobs (defaults to http://localhost:3000) */ baseUrl?: string; /** * Inline config instead of reading from file */ config?: ReadVercelJsonOptions['config']; } /** * Server Component that reads vercel.json and renders the cron testing dashboard * Only works in development mode (NODE_ENV === 'development') * * @example * ```tsx * // app/api/cron/page.tsx or app/dev/cron/page.tsx * export { default } from 'previewcron' * ``` * * @example With custom options * ```tsx * // app/api/cron/page.tsx * import CronDevPage from 'previewcron' * * export default function Page() { * return * } * ``` */ declare function CronDevPage({ vercelJsonPath, baseUrl, config, }?: CronDevPageProps): Promise; export { CronDevPage as default };