/** * This Source Code is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright (c) Infonomic Company Limited */ import type { PasswordSignInProtection } from '@byline/auth'; import type { ISchedulerStore, RecurringTaskDefinition } from './types.js'; /** * Boot-time gate. Recurring tasks registered against an adapter that does not * implement the optional scheduler capability would silently never run, so this * fails loudly at `initBylineCore()` instead. */ export declare function validateSchedulerConfig(params: { passwordSignIn?: PasswordSignInProtection; tasks?: readonly RecurringTaskDefinition[]; adapter: { scheduler?: ISchedulerStore; }; }): void;