import { BaseSchema } from "../common/base/base.schema"; import { UserRole } from "../users/user.schema"; import * as mongoose from "mongoose"; import { Entity } from "../entities/entity.schema"; export declare class ApiKey extends BaseSchema { name: string; code: string; is_default?: boolean; app_key: string; secret_key: string; enable: boolean; roles?: UserRole[]; entities?: Entity; allow_use_menu?: boolean; allow_use_translate?: boolean; enable_csrf?: boolean; data_permission: any; ignore_2fa: boolean; ignore_check_agent_ip: boolean; store_config: any; soft_logout_config: any; notification_enabled: boolean; notification_domain: string; notification_vapid_public_key: string; notification_vapid_private_key: string; user_type?: string[]; allow_login_methods?: string[]; allow_gateways?: string[]; allow_provider_redirect?: string[]; login_provider: string; default_gateway: string; general_config: any; menu_config: any; step_registration: any; thank_you_content: string; allow_registration: boolean; default_roles_registration: UserRole[]; email_activation_template?: string; session_ttl?: string; max_session?: number; allow_one_time_token?: boolean; ignore_local_provider: boolean; one_time_token_ttl?: number; } export declare const ApiKeySchema: mongoose.Schema, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, { [x: number]: unknown; [x: symbol]: unknown; [x: string]: unknown; }, mongoose.Document, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{ [x: number]: unknown; [x: symbol]: unknown; [x: string]: unknown; }> & Required<{ _id: unknown; }> & { __v: number; }>;