import type { Agenda } from 'agenda';
import type { Plugin } from '@hapi/hapi';
interface AgendashHapiOptions {
    auth?: string | false;
}
/**
 * Create Hapi plugin for Agendash
 *
 * @example
 * ```typescript
 * import Hapi from '@hapi/hapi';
 * import Inert from '@hapi/inert';
 * import { Agenda } from 'agenda';
 * import { createHapiPlugin } from 'agendash';
 *
 * const server = Hapi.server({ port: 3000 });
 * const agenda = new Agenda({ db: { address: 'mongodb://localhost/agenda' } });
 *
 * await server.register(Inert);
 * await server.register({
 *   plugin: createHapiPlugin(agenda),
 *   options: { auth: false },
 *   routes: { prefix: '/dash' }
 * });
 * ```
 */
export declare function createHapiPlugin(agenda: Agenda): Plugin<AgendashHapiOptions>;
export {};
