import * as yup from 'yup';
/**
 * クレデンシャル情報
 */
export interface CredentialData {
    rpId: string;
    userId: string;
    credentialId: string;
    credentialName?: string;
    credentialAttributes?: {
        [key: string]: any;
    } | null;
    format: string;
    userPresence: boolean;
    userVerification: boolean;
    backupEligibility: boolean;
    backupState: boolean;
    attestedCredentialData: boolean;
    extensionData: boolean;
    aaguid?: string;
    aaguidModelName?: string;
    publicKey: string;
    transportsRaw?: string;
    transportsBle?: boolean;
    transportsHybrid?: boolean;
    transportsInternal?: boolean;
    transportsNfc?: boolean;
    transportsUsb?: boolean;
    discoverableCredential?: boolean;
    enterpriseAttestation: boolean;
    vendorId?: string;
    authenticatorId?: string;
    attestationObject: string;
    authenticatorAttachment?: string;
    credentialType: string;
    clientDataJson: string;
    clientDataJsonRaw: string;
    lastAuthenticated?: Date;
    lastSignCounter?: number;
    disabled: boolean;
    registered?: Date;
    updated?: Date;
}
export interface CredentialDataUpdateParameter {
    userId: string;
    credentialId: string;
    credentialName?: string;
    credentialAttributes?: {
        [key: string]: any;
    } | string | null;
    disabled: boolean;
    updated?: Date;
}
/**
 * スキーマ定義
 * ※サーバー応答のキャスト用。バリデーション処理が必要であれば別途要定義。
 */
export declare const CredentialDataSchema: yup.ObjectSchema<{
    rpId: string | undefined;
    userId: string | undefined;
    credentialId: string | undefined;
    credentialName: string | undefined;
    credentialAttributes: {} | null | undefined;
    format: string | undefined;
    userPresence: boolean | undefined;
    userVerification: boolean | undefined;
    backupEligibility: boolean | undefined;
    backupState: boolean | undefined;
    attestedCredentialData: boolean | undefined;
    extensionData: boolean | undefined;
    aaguid: string | null | undefined;
    aaguidModelName: string | null | undefined;
    publicKey: string | undefined;
    transportsRaw: string | null | undefined;
    transportsBle: boolean | null | undefined;
    transportsHybrid: boolean | null | undefined;
    transportsInternal: boolean | null | undefined;
    transportsNfc: boolean | null | undefined;
    transportsUsb: boolean | null | undefined;
    discoverableCredential: boolean | null | undefined;
    enterpriseAttestation: boolean | null | undefined;
    vendorId: string | null | undefined;
    authenticatorId: string | null | undefined;
    attestationObject: string | undefined;
    authenticatorAttachment: string | null | undefined;
    credentialType: string | undefined;
    clientDataJson: string | undefined;
    clientDataJsonRaw: string | undefined;
    lastAuthenticated: Date | null | undefined;
    lastSignCounter: number | null | undefined;
    disabled: boolean | undefined;
    registered: Date | undefined;
    updated: Date | undefined;
}, yup.AnyObject, {
    rpId: undefined;
    userId: undefined;
    credentialId: undefined;
    credentialName: undefined;
    credentialAttributes: undefined;
    format: undefined;
    userPresence: undefined;
    userVerification: undefined;
    backupEligibility: undefined;
    backupState: undefined;
    attestedCredentialData: undefined;
    extensionData: undefined;
    aaguid: undefined;
    aaguidModelName: undefined;
    publicKey: undefined;
    transportsRaw: undefined;
    transportsBle: undefined;
    transportsHybrid: undefined;
    transportsInternal: undefined;
    transportsNfc: undefined;
    transportsUsb: undefined;
    discoverableCredential: undefined;
    enterpriseAttestation: undefined;
    vendorId: undefined;
    authenticatorId: undefined;
    attestationObject: undefined;
    authenticatorAttachment: undefined;
    credentialType: undefined;
    clientDataJson: undefined;
    clientDataJsonRaw: undefined;
    lastAuthenticated: undefined;
    lastSignCounter: undefined;
    disabled: undefined;
    registered: undefined;
    updated: undefined;
}, "">;
//# sourceMappingURL=credential-data.d.ts.map