import { FastifyPluginAsync, FastifyPluginCallback, FastifyPluginOptions, FastifySchemaCompiler, FastifyTypeProvider, RawServerBase, RawServerDefault } from 'fastify';
import { Static, TSchema } from '@sinclair/typebox';
export * from '@sinclair/typebox';
export declare const TypeBoxValidatorCompiler: FastifySchemaCompiler<TSchema>;
export interface TypeBoxTypeProvider extends FastifyTypeProvider {
    output: this['input'] extends TSchema ? Static<this['input']> : unknown;
}
export type FastifyPluginCallbackTypebox<Options extends FastifyPluginOptions = Record<never, never>, Server extends RawServerBase = RawServerDefault> = FastifyPluginCallback<Options, Server, TypeBoxTypeProvider>;
export type FastifyPluginAsyncTypebox<Options extends FastifyPluginOptions = Record<never, never>, Server extends RawServerBase = RawServerDefault> = FastifyPluginAsync<Options, Server, TypeBoxTypeProvider>;
