import type { SqlExpr } from "../tools/search/types.js";
import type { App } from "./app.js";
import type { Collection } from "./collection_model.js";
import type { Record as RecordModel } from "./record_model.js";
import { ExternalAuth } from "./external_auth_model.js";
export declare function FindAllExternalAuthsByRecord(app: App, authRecord: RecordModel): ExternalAuth[];
export declare function FindAllExternalAuthsByCollection(app: App, collection: Collection): ExternalAuth[];
export declare function FindFirstExternalAuthByExpr(app: App, expr: SqlExpr | Record<string, unknown>): ExternalAuth;
export declare function DeleteAllExternalAuthsByRecord(app: App, authRecord: RecordModel): Promise<Error | null>;
