export interface ScopingContext { setup: string[]; teardown: string[]; active: boolean; userEmail: string | null; orgId: string | null; ownerEmailTables: Set; orgIdTables: Set; tablePredicates: Map; columnsByTable: Map; } export declare function buildScopingPostgres(client: { unsafe(sql: string, args?: unknown[]): Promise; }): Promise;