import PgBoss from "pg-boss";
export declare function startBackgroundJobs(): Promise<void>;
export declare function stopBackgroundJobs(): Promise<void>;
export declare function createJobQueue(queueName: string, options?: PgBoss.Queue): Promise<void>;
export declare function addJobToQueue(queueName: string, payload?: object): Promise<string>;
export declare function scheduleQueueExecution(queueName: string, cronExpression: string, jobPayload: object, scheduleOptions?: PgBoss.ScheduleOptions): Promise<void>;
export declare function startQueueProcessing<T>(queueName: string, workOptions: PgBoss.WorkOptions, handler: PgBoss.WorkHandler<T>): Promise<void>;
export declare function publishEvent(queueName: string, payload: object): Promise<void>;
