export interface ScheduledAction {
    documentId: string;
    collection: string;
    action: 'publish' | 'unpublish' | 'archive';
    scheduledAt: Date;
}
export interface ScheduleCalendarEntry {
    id: string;
    documentId: string;
    collection: string;
    title: string;
    action: 'publish' | 'unpublish';
    scheduledAt: Date;
}
type PrismaDB = any;
/** Get all scheduled actions within a date range for a calendar view. */
export declare function getScheduleCalendar(from: Date, to: Date, db: PrismaDB): Promise<ScheduleCalendarEntry[]>;
/** Process documents due for scheduled publishing. */
export declare function processScheduledPublish(db: PrismaDB): Promise<{
    published: number;
    errors: Array<{
        documentId: string;
        error: string;
    }>;
}>;
/** Process documents due for scheduled unpublishing. */
export declare function processScheduledUnpublish(db: PrismaDB): Promise<{
    unpublished: number;
    errors: Array<{
        documentId: string;
        error: string;
    }>;
}>;
/** Cron handler that runs both publish and unpublish processing. */
export declare function schedulingCronHandler(db: PrismaDB): Promise<{
    published: number;
    unpublished: number;
    errors: Array<{
        documentId: string;
        error: string;
    }>;
}>;
export {};
//# sourceMappingURL=index.d.ts.map