import { type AsyncOrSync } from '@poppinss/utils/types';
import { type AllHooks, type HookParams } from '@adonisjs/assembler/types';
/**
 * Collection of hooks that can be used to listen for various events during
 * the application lifecycle. These hooks allow you to execute custom logic
 * at specific points in the development server, build process, and testing.
 *
 * @example
 * const { hooks } = await import('@adonisjs/application')
 *
 * hooks.init((app) => {
 *   console.log('Application initialized')
 * })
 *
 * hooks.devServerStarted((server) => {
 *   console.log('Dev server started on port', server.port)
 * })
 */
export declare const hooks: {
    [K in keyof AllHooks]: (callback: (...args: HookParams<K>) => AsyncOrSync<void>) => (...args: HookParams<K>) => AsyncOrSync<void>;
};
