/// <reference types="node" />
import { FastifyPluginAsync } from "fastify";
import { Config } from "../config";
export interface FastifyConfig {
    routes?: FastifyPluginAsync;
    defaultRoutes?: FastifyPluginAsync;
}
export declare function createFastifyApplication(): Promise<import("fastify").FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>>;
export declare function listen(config?: Partial<Config>): Promise<() => Promise<void>>;
