/** * ObjectQL * Copyright (c) 2026-present ObjectStack Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { ObjectConfig, IntrospectedSchema } from '@objectql/types'; export declare function toTitleCase(str: string): string; /** * Convert an introspected database schema to ObjectQL object configurations. * This allows using existing database tables without manually defining metadata. * * @param introspectedSchema - The schema returned from driver.introspectSchema() * @param options - Optional configuration for the conversion * @returns Array of ObjectConfig that can be registered with ObjectQL */ export declare function convertIntrospectedSchemaToObjects(introspectedSchema: IntrospectedSchema, options?: { /** Tables to exclude from conversion */ excludeTables?: string[]; /** Tables to include (if specified, only these will be converted) */ includeTables?: string[]; /** Whether to skip system columns like id, created_at, updated_at */ skipSystemColumns?: boolean; }): ObjectConfig[];