import type { CronServiceState } from "./state.js"; export declare function locked(state: CronServiceState, fn: () => Promise): Promise;