import { Hono } from 'hono'; import { B as BaseAdapter, i as User } from '../types-M2BhNVof.js'; import { R as Registry } from '../index-DjhIVdL9.js'; import { j as createWebhookService } from '../WebhookService-Y-X6GgLL.js'; import '../types-C3QFX0l6.js'; import 'zod'; interface KyroAppOptions { registry: Registry; db: BaseAdapter; authSecret?: string; authAdapter?: any; checkSession?: boolean; user?: User; req?: any; tenantId?: string; cors?: { origins?: string[]; credentials?: boolean; }; webhookService?: ReturnType; settings?: { access?: { enablePublicAccess?: boolean; defaultCollectionAccess?: string; apiAccess?: { graphqlEnabled?: boolean; trpcEnabled?: boolean; websocketEnabled?: boolean; requireAuth?: boolean; cors?: { allowedOrigins?: string[] | string; }; }; rateLimiting?: { enabled?: boolean; maxRequests?: number; windowMs?: number; }; }; }; } declare function createKyroApp(options: KyroAppOptions): Promise; declare function createRESTAPI(registry: Registry, db: BaseAdapter, options?: { authSecret?: string; user?: User; req?: Request; tenantId?: string; cors?: { origins?: string[]; credentials?: boolean; }; webhookService?: ReturnType; }): Promise; export { type KyroAppOptions, createKyroApp, createRESTAPI };