import type { FastifyInstance, onRequestHookHandler, preHandlerHookHandler } from "fastify"; import type { Context } from "../trpc"; import { type QueuedashAuthOptions } from "./auth"; export type FastifyQueuedashHooksOptions = Partial<{ onRequest?: onRequestHookHandler; preHandler?: preHandlerHookHandler; }>; /** @deprecated Use FastifyQueuedashHooksOptions instead. */ export type FastifyQueueDashHooksOptions = FastifyQueuedashHooksOptions; export declare function fastifyQueuedashPlugin(fastify: FastifyInstance, { baseUrl, ctx, uiHooks, auth, }: { ctx: Context; baseUrl: string; uiHooks?: FastifyQueuedashHooksOptions; auth?: QueuedashAuthOptions; }, done: (error?: Error) => void): void; /** @deprecated Use fastifyQueuedashPlugin instead. */ export declare const fastifyQueueDashPlugin: typeof fastifyQueuedashPlugin; //# sourceMappingURL=fastify.d.ts.map