import type * as core from "../../../../../../core"; import * as CandidApi from "../../../../../index"; export type Error = CandidApi.credentialing.v3.deleteFacility.Error.EntityNotFoundError | CandidApi.credentialing.v3.deleteFacility.Error.UnauthorizedError | CandidApi.credentialing.v3.deleteFacility.Error._Unknown; export declare namespace Error { interface EntityNotFoundError extends _Utils { errorName: "EntityNotFoundError"; content: CandidApi.EntityNotFoundErrorMessage; } interface UnauthorizedError extends _Utils { errorName: "UnauthorizedError"; content: CandidApi.UnauthorizedErrorMessage; } interface _Unknown extends _Utils { errorName: void; content: core.Fetcher.Error; } interface _Utils { _visit: <_Result>(visitor: CandidApi.credentialing.v3.deleteFacility.Error._Visitor<_Result>) => _Result; } interface _Visitor<_Result> { entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result; unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result; _other: (value: core.Fetcher.Error) => _Result; } } export declare const Error: { readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.credentialing.v3.deleteFacility.Error.EntityNotFoundError; readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.credentialing.v3.deleteFacility.Error.UnauthorizedError; readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.credentialing.v3.deleteFacility.Error._Unknown; readonly _visit: <_Result>(value: CandidApi.credentialing.v3.deleteFacility.Error, visitor: CandidApi.credentialing.v3.deleteFacility.Error._Visitor<_Result>) => _Result; };