/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
export interface DeferredStartupTask {
    readonly label: string;
    readonly run: () => void | Promise<void>;
    readonly onError?: (error: unknown) => void;
}
export interface DeferredStartupCoordinator {
    schedule(task: DeferredStartupTask): Promise<void>;
    drain(timeoutMs?: number): Promise<void>;
}
export declare function createDeferredStartupCoordinator(scheduler?: (callback: () => void) => void): DeferredStartupCoordinator;
//# sourceMappingURL=deferred-startup.d.ts.map