import Fastify from 'fastify';
export interface PaymentsServerOptions {
    port: number;
    dataDir?: string;
    identityHex?: string;
    /**
     * Fallback RPC URL used when the user has not set `payments.crypto.rpcUrl`
     * in config.json. Lets the host app (e.g. desktop) override the protocol
     * default (`mainnet.base.org`) with a more reliable endpoint, matching the
     * RPC the rest of the app is already using for on-chain reads.
     */
    defaultRpcUrl?: string;
}
export declare function createServer(options: PaymentsServerOptions): Promise<Fastify.FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, Fastify.FastifyBaseLogger, Fastify.FastifyTypeProviderDefault>>;
