import type { App } from "../core/app.js";
import type { Collection } from "../core/collection_model.js";
import type { RequestEvent } from "../core/event_request.js";
export declare function findAuthCollection(app: App, event: RequestEvent): Collection | null;
export declare function authCollectionNotFound(event: RequestEvent): Response;
export declare function readJsonBody(event: RequestEvent): Promise<{
    data: Record<string, unknown> | null;
    error: Error | null;
}>;
