/** * Supabase PostgREST connector (C1). * Safe RO access to the ZION mirror (Codes sync) when live SQL from Codes is closed on the PC. * Raw SQL → only simple SELECT ... FROM schema.table [LIMIT n] is accepted. */ import type { Connector, ConnectorCapabilities, ConnectorConfig, QueryResult, SchemaTable } from '../types.js'; export declare class SupabaseRestConnector implements Connector { name: string; description: string; capabilities: ConnectorCapabilities; private baseUrl; private apiKey; private anonKey; private schema; private allow; /** Configured Postgres schema — callers must qualify tables with this, never a hard-coded name. */ get schemaName(): string; constructor(config: ConnectorConfig); connect(): Promise; disconnect(): Promise; listTables(): Promise; describeTable(table: string): Promise; query(sql: string): Promise; search(): Promise; /** Exported for unit tests */ parseSimpleSelect(sql: string): { table: string; columns: string[]; limit: number; }; private headers; private normalizeTable; private assertAllowed; } //# sourceMappingURL=supabase_rest.d.ts.map