/** URL-encode a user-supplied filter value so it cannot add PostgREST params. */ export declare function enc(value: string): string; interface QueryOptions { table: string; select?: string; filters?: string[]; order?: string; limit?: number; offset?: number; count?: "exact" | "planned" | "estimated"; } export declare function query(opts: QueryOptions): Promise<{ data: T[]; count: number | null; }>; export declare function rpc(functionName: string, body?: Record): Promise; export declare function queryTable(table: string, filters?: string[], options?: Partial): Promise; /** * Read every matching row, page by page, so results are never cut * at the API's per-request row cap. Stops at maxRows. */ export declare function queryAll(table: string, filters?: string[], options?: Partial, maxRows?: number): Promise; export declare function queryView(viewName: string, filters?: string[], options?: Partial): Promise; /** PostgREST in-list with quoted, encoded values: in.("a","b"). */ export declare function inList(values: string[]): string; /** * The published gate date the live site shows. Everything the server * returns is read at or before this date, so the MCP never shows a * week the site has not published yet. */ export declare function getActiveDate(): Promise; export {}; //# sourceMappingURL=supabase.d.ts.map