import { ApiError } from "./ApiResponse"; export declare type ApiScheduledResultFnDataMap = { "auto-mailer": { isSunday: false; yesterdayDocIds: string[]; accDocIds: string[]; yesterdayTotal: number; accTotal: number; mailId: string; mailAcceptedBy: string[]; } | { isSunday: true; }; }; export declare type ApiScheduledResult = { ok: true; timestamp: string; functions: { [FnId in keyof ApiScheduledResultFnDataMap]: { executed: false; } | ({ executed: true; attempts: number; } & ({ status: "success"; errors: null; data: ApiScheduledResultFnDataMap[FnId]; } | { status: "fail"; errors: ApiError[]; data: null; })); }; durationMs: number; }; //# sourceMappingURL=ApiScheduledResult.d.ts.map