import { Expiring } from "../expiring";
export interface DurableEventSchedule {
    timezone?: string;
    after?: string;
    before?: string;
    immediate?: boolean;
    cron?: string;
    delay?: number | string;
    repeat?: boolean;
}
export interface UnknownEvent {
    type: unknown;
}
export interface DurableEventTypeData extends UnknownEvent {
    type: string;
}
export interface DurableEventData extends Record<string, unknown>, DurableEventTypeData, Expiring {
    timeStamp?: number;
    durableEventId?: string;
    schedule?: DurableEventSchedule;
    retain?: boolean;
    virtual?: boolean;
    serviceWorkerId?: string;
    createdAt?: string;
}
export interface DurableEvent extends DurableEventData {
    durableEventId: string;
}
