import type { ResolvedCliOptions } from '../utils/config/cli-options';
import type { FastifyInstance } from 'fastify';
export type BeforeBuildHook = 'before-build';
export type BeforeServeHook = 'before-serve';
export type Hook = BeforeBuildHook | BeforeServeHook;
export type NamedCallBackHook<T> = {
    callBack: T;
    name: string;
};
export type BeforeBuildCallback = (appOptions: ResolvedCliOptions) => void | Promise<void>;
export type BeforeServeCallBack = (appOptions: ResolvedCliOptions, fastify: FastifyInstance) => void | Promise<void>;
export type CallBack = BeforeBuildCallback | BeforeServeCallBack;
