import { PostgresMetaResult, PostgresRole, PostgresRoleCreate, PostgresRoleUpdate } from './types.js'; export declare function changeRoleConfig2Object(config: string[]): any; export default class PostgresMetaRoles { query: (sql: string) => Promise>; constructor(query: (sql: string) => Promise>); list({ includeDefaultRoles, limit, offset, }?: { includeDefaultRoles?: boolean; limit?: number; offset?: number; }): Promise>; retrieve({ id }: { id: number; }): Promise>; retrieve({ name }: { name: string; }): Promise>; create({ name, is_superuser, can_create_db, can_create_role, inherit_role, can_login, is_replication_role, can_bypass_rls, connection_limit, password, valid_until, member_of, members, admins, config, }: PostgresRoleCreate): Promise>; update(id: number, { name, is_superuser, can_create_db, can_create_role, inherit_role, can_login, is_replication_role, can_bypass_rls, connection_limit, password, valid_until, config, }: PostgresRoleUpdate): Promise>; remove(id: number): Promise>; } //# sourceMappingURL=PostgresMetaRoles.d.ts.map