/** Token metadata returned by /tokens endpoint. */
export interface HardwareToken {
    id: string;
    label: string;
    manufacturer: string;
    model: string;
    serialNumber: string;
    middlewarePath: string;
    middlewareName: string;
    slotId: number;
}
/** Certificate info returned by /certificates endpoint. */
export interface TokenCertificate {
    id: string;
    label: string;
    subjectCN: string;
    issuerCN: string;
    notBefore: string;
    notAfter: string;
    subjectCPF?: string;
    subjectCNPJ?: string;
    /** DER-encoded certificate bytes as base64. */
    derBase64: string;
}
/** PIN verification result from /verify-pin endpoint. */
export interface PinVerificationResult {
    valid: boolean;
    attemptsRemaining?: number;
    error?: string;
}
/** Signing result from /sign or /sign-data endpoint. */
export interface SignResult {
    success: boolean;
    signatureBase64?: string;
    certChainBase64?: string[];
    error?: string;
}
/** Middleware detection entry. */
export interface MiddlewareEntry {
    name: string;
    libraryPath: string;
    isInstalled: boolean;
    version?: string | null;
}
