import { AgentsRunDatabaseClient } from "../../db/runtime/runtime-client.js";

//#region src/data-access/runtime/auth.d.ts
declare const getInitialOrganization: (db: AgentsRunDatabaseClient) => (userId: string) => Promise<{
  id: string;
} | null>;
declare const queryHasCredentialAccount: (db: AgentsRunDatabaseClient) => (userId: string) => Promise<boolean>;
declare const querySsoProviderIssuers: (db: AgentsRunDatabaseClient) => () => Promise<{
  issuer: string;
}[]>;
declare const querySsoProviderById: (db: AgentsRunDatabaseClient) => (providerId: string) => Promise<{
  issuer: string;
} | undefined>;
declare const querySsoProviderIds: (db: AgentsRunDatabaseClient) => () => Promise<string[]>;
declare const queryOrgAllowedAuthMethods: (db: AgentsRunDatabaseClient) => (orgId: string) => Promise<{
  allowedAuthMethods: string | null;
} | undefined>;
declare const queryMemberExists: (db: AgentsRunDatabaseClient) => (userId: string, organizationId: string) => Promise<boolean>;
declare const queryPendingInvitationExists: (db: AgentsRunDatabaseClient) => (email: string, organizationId: string) => Promise<boolean>;
//#endregion
export { getInitialOrganization, queryHasCredentialAccount, queryMemberExists, queryOrgAllowedAuthMethods, queryPendingInvitationExists, querySsoProviderById, querySsoProviderIds, querySsoProviderIssuers };