import type pg from "pg";
import type { AccessClaims } from "./identity.ts";
import type { PrefsRow } from "./quiet.ts";
type Queryable = Pick<pg.PoolClient, "query">;
export declare function getPrefs(claims: AccessClaims): Promise<Record<string, unknown>>;
export declare function putPrefs(claims: AccessClaims, body: unknown): Promise<Record<string, unknown>>;
export declare function loadPrefsMap(q: Queryable, userIds: string[], appId: string): Promise<Map<string, PrefsRow>>;
export {};
