/**
 * Stoneforge Platform Server
 *
 * HTTP + WebSocket server for the Stoneforge web platform.
 * Built with Hono for fast, minimal overhead.
 *
 * Exports `createQuarryApp` (builds the Hono app + services) and
 * `startQuarryServer` (creates the app and starts listening with
 * dual-runtime Bun/Node support).
 */
import { Hono } from 'hono';
import { createStorage } from '@stoneforge/storage';
import type { QuarryAPI } from '../api/types.js';
import type { SyncService } from '../sync/service.js';
import type { AutoExportService } from '../sync/auto-export.js';
import type { InboxService } from '../services/inbox.js';
import { initializeBroadcaster } from './ws/broadcaster.js';
export interface QuarryServerOptions {
    port?: number;
    host?: string;
    dbPath?: string;
    webRoot?: string;
    corsOrigins?: string[];
}
export interface QuarryApp {
    app: InstanceType<typeof Hono>;
    api: QuarryAPI;
    syncService: SyncService;
    autoExportService: AutoExportService;
    inboxService: InboxService;
    broadcaster: ReturnType<typeof initializeBroadcaster>;
    storageBackend: ReturnType<typeof createStorage>;
}
export declare function createQuarryApp(options?: QuarryServerOptions): QuarryApp;
export declare function startQuarryServer(options?: QuarryServerOptions): QuarryApp;
//# sourceMappingURL=index.d.ts.map