import { Hono } from 'hono'; import { B as BaseAdapter, i as User } from '../types-BQnOYvym.cjs'; import { R as Registry } from '../index-GSRx0kyZ.cjs'; import { j as createWebhookService } from '../WebhookService-2ys-dFjb.cjs'; import '../types-C3QFX0l6.cjs'; 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 };