import type { User } from '../types/recordTypes';
export interface UserRequest {
    session?: {
        user?: User;
    };
}
export interface APIRequest {
    params?: {
        apiKey?: string;
    };
}
export declare function userIsAdmin(request: UserRequest): boolean;
export declare function userCanUpdate(request: UserRequest): boolean;
export declare function apiKeyIsValid(request: APIRequest): Promise<boolean>;
