import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { RootStoreChain } from "./rootstorechain.js"; /** * The certificate's type. Options include root, intermediate, or leaf. */ export declare const Type: { readonly Unknown: ""; readonly Root: "root"; readonly Intermediate: "intermediate"; readonly Leaf: "leaf"; }; /** * The certificate's type. Options include root, intermediate, or leaf. */ export type Type = OpenEnum; export type RootStore = { /** * A path of trusted signing certificates up to a root certificate present in a root store, represented as an ordered list of SHA-256 fingerprints. */ chains?: Array | null | undefined; /** * Whether the certificate has ever been considered valid by the root store. */ everValid?: boolean | undefined; /** * Whether there ever existed a trusted path of signing certificates from a certificate present in the root certificate store. */ hadTrustedPath?: boolean | undefined; /** * Whether there currently exists a trusted path of signing certificates from a certificate present in the root certificate store. */ hasTrustedPath?: boolean | undefined; /** * Whether the certificate is in the revocation set (e.g. OneCRL) associated with the root store. */ inRevocationSet?: boolean | undefined; /** * Whether the certificate is currently considered valid by the root store: a summary of the trust path, revoked, blocklisted/allowlisted, and expired fields. */ isValid?: boolean | undefined; /** * The SHA-256 fingerprints of the certificate's immediate parents in its trust path(s). */ parents?: Array | null | undefined; /** * The certificate's type. Options include root, intermediate, or leaf. */ type?: Type | undefined; }; /** @internal */ export declare const Type$inboundSchema: z.ZodType; /** @internal */ export declare const RootStore$inboundSchema: z.ZodType; export declare function rootStoreFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=rootstore.d.ts.map