import Fastify from 'fastify';
import { type Db } from '@znet/catalog-db';
import { type Logger } from '@znet/shared';
export interface AppOptions {
    db: Db;
    token: string;
    defaultStore: string;
    logger: Logger;
    /** false when stock is not managed in Magento. */
    stockEnabled?: boolean;
}
/** Internal Catalog API — the single reader of the catalog schema. */
export declare function buildApp({ db, token, defaultStore, logger, stockEnabled }: AppOptions): Fastify.FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, Logger, Fastify.FastifyTypeProviderDefault> & PromiseLike<Fastify.FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, Logger, Fastify.FastifyTypeProviderDefault>> & {
    __linterBrands: "SafePromiseLike";
};
//# sourceMappingURL=app.d.ts.map