/** The default timeout is 10 minutes */
export declare const DEFAULT_TIMEOUT_SECONDS: number;
export interface IntervalHandler {
    name?: string;
    onInit?: () => Promise<void> | void;
    onRun: () => Promise<void> | void;
    onStop?: () => Promise<void> | void;
}
/**
 * Options for configuring an interval registered via {@link ProcessingSDKInterface.registerInterval}.
 */
export type RegisterIntervalOptions = {
    /**
     * If true, the handler will be invoked immediately once on registration,
     * in addition to subsequent scheduled executions.
     */
    immediate?: boolean;
    /**
     * Optional timeout, in seconds, for the interval.
     *
     * This value should be a positive number representing the maximum time,
     * in seconds, that the interval is allowed to run before being considered
     * timed out. Callers should not pass 0 or negative values.
     */
    timeout?: number;
};
export interface ProcessingSDKInterface {
    registerInterval(intervalSeconds: number, handler: IntervalHandler, options?: RegisterIntervalOptions): Promise<string>;
    stopInterval(name: string): Promise<void>;
}
