import type { Credentials } from './config.js'; export interface TableColumnRecord { name: string; type: string; nullable: boolean; primaryKey: boolean; unique: boolean; autoIncrement: boolean; defaultValue?: unknown; } export interface TableSchemaRecord { table: string; columns: TableColumnRecord[]; updated_at: string; } export interface GeneratePayloadRequest { workspace_id: string; user_id: string; public_key: string; product_tag: string; env_slug: string; operation_family: string; method: string; targets?: Record; include_session?: boolean; include_cache?: boolean; schema_mode?: 'strict' | 'best_effort'; input_hint?: Record; } export interface GeneratePayloadResponse { payload: Record; meta: Record; } export declare function generateExecutablePayload(apiUrl: string, creds: Credentials, request: GeneratePayloadRequest): Promise; export declare function pushDatabaseSchema(apiUrl: string, creds: Credentials, opts: { workspace_id: string; product_tag: string; database_tag: string; env_slug: string; table_schemas: TableSchemaRecord[]; }): Promise<{ synced: number; tables: string[]; }>;