import type { ApiKey } from "../../../../../metabase-types/api";
export declare function formatMaskedKey(maskedKey: string): string;
export declare const API_KEY_VALIDATION_SCHEMA: import("yup/lib/object").OptionalObjectSchema<{
    name: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
    group_id: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
    name: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
    group_id: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
}>>;
export type FlatApiKey = ApiKey & {
    group_name: string;
    updated_by_name: string;
};
export declare const flattenApiKey: (apiKey: ApiKey) => FlatApiKey;
