import { messages } from "./errors.js";
import { CustomError } from "ts-custom-error";
export declare class PKCError extends CustomError {
    code: keyof typeof messages;
    message: messages;
    stack?: string;
    details: Record<string, any>;
    constructor(code: keyof typeof messages, details?: any);
    toString(): string;
    toJSON(): {
        name: string;
        code: "ERR_COMMUNITY_SIGNER_NOT_DEFINED" | "ERR_COMMUNITY_CAN_EITHER_RUN_OR_UPDATE" | "ERR_PUBLICATION_MISSING_FIELD" | "ERR_COMMUNITY_MISSING_FIELD" | "ERR_COMMUNITY_OPTIONS_MISSING_ADDRESS" | "ERR_INVALID_COMMUNITY_ADDRESS_SCHEMA" | "ERR_CID_IS_INVALID" | "ERR_DATA_PATH_IS_NOT_DEFINED" | "ERR_COMMUNITY_OWNER_ATTEMPTED_EDIT_NEW_ADDRESS_THAT_ALREADY_EXISTS" | "ERR_COMMENT_MISSING_IPFS_AND_UPDATE" | "ERR_COMMENT_MISSING_CID" | "ERR_COMMENT_MISSING_IPFS" | "ERR_COMMENT_MISSING_UPDATE" | "ERR_COMMENT_IPFS_COMMUNITY_NAME_MISMATCH" | "ERR_NEED_TO_STOP_UPDATING_COMMUNITY_BEFORE_STARTING" | "ERR_HELIAS_STOPPING_OR_STOPPED" | "ERR_FAILED_TO_DIAL_ANY_PUBSUB_PEERS_FROM_DELEGATED_ROUTERS" | "ERR_FETCH_OVER_IPNS_OVER_PUBSUB_RETURNED_UNDEFINED" | "ERR_FAILED_TO_DIAL_ANY_PEERS_PROVIDING_CID" | "ERR_GET_COMMUNITY_TIMED_OUT" | "ERR_TIMEOUT_WAITING_FOR_PUBSUB_TOPIC_PEERS" | "ERR_PUBSUB_TOPIC_PEER_WAIT_ABORTED" | "ERR_TIMED_OUT_RM_MFS_FILE" | "ERR_ABORTED_RESOLVING_TEXT_RECORD" | "ERR_CALLED_COMMUNITY_STOP_WITHOUT_UPDATE" | "ERR_PKC_MISSING_NATIVE_FUNCTIONS" | "ERR_CAN_NOT_RUN_A_COMMUNITY_WITH_NO_IPFS_NODE" | "ERR_PKC_OPTION_NOT_ACCEPTED" | "ERR_FAILED_TO_GET_CONFIG_ON_KUBO_NODE" | "ERR_FAILED_TO_SET_CONFIG_ON_KUBO_NODE" | "ERR_FAILED_TO_SHUTDOWN_KUBO_NODE" | "ERR_CAN_NOT_CREATE_A_LOCAL_COMMUNITY" | "ERR_COMMUNITY_ADDRESS_IS_PROVIDED_AS_NULL_OR_UNDEFINED" | "ERR_UNABLE_TO_DERIVE_PUBSUB_COMMENT_PUBLICATION_FROM_JSONIFIED_COMMENT" | "ERR_UNABLE_TO_DERIVE_PUBSUB_COMMENT_EDIT_PUBLICATION_FROM_JSONIFIED_COMMENT_EDIT" | "ERR_UNABLE_TO_DERIVE_PUBSUB_COMMENT_MODERATION_PUBLICATION_FROM_JSONIFIED_COMMENT_MODERATION" | "ERR_UNABLE_TO_DERIVE_PUBSUB_VOTE_PUBLICATION_FROM_JSONIFIED_VOTE" | "ERR_UNABLE_TO_DERIVE_PUBSUB_COMMUNITY_EDIT_PUBLICATION_FROM_JSONIFIED_COMMUNITY_EDIT" | "ERR_PKC_SQLITE_LONG_TERM_STORAGE_KEYV_ERROR" | "ERR_PKC_IS_DESTROYED" | "ERR_FAILED_TO_FETCH_IPFS_VIA_GATEWAY" | "ERR_FAILED_TO_FETCH_IPFS_CID_VIA_IPFS_P2P" | "ERR_FAILED_TO_FETCH_IPNS_VIA_GATEWAY" | "ERR_IPNS_RECORD_NOT_FOUND" | "ERR_FAILED_TO_FETCH_COMMUNITY_FROM_GATEWAYS" | "ERR_FETCH_OVER_IPNS_OVER_PUBSUB_FAILED" | "ERR_LIBP2P_FETCH_IPNS_FROM_PEER_TIMEDOUT" | "ERR_FAILED_TO_FETCH_COMMENT_IPFS_FROM_GATEWAYS" | "ERR_FAILED_TO_FETCH_COMMENT_UPDATE_FROM_GATEWAYS" | "ERR_FAILED_TO_FETCH_PAGE_IPFS_FROM_GATEWAYS" | "ERR_FAILED_TO_FETCH_GENERIC_IPFS_FROM_GATEWAYS" | "ERR_FAILED_TO_RESOLVE_IPNS_VIA_IPFS_P2P" | "ERR_FAILED_TO_FETCH_COMMENT_UPDATE_FROM_ALL_POST_UPDATES_RANGES" | "ERR_COMMUNITY_HAS_NO_POST_UPDATES" | "ERR_FAILED_TO_FETCH_GENERIC" | "ERR_OVER_DOWNLOAD_LIMIT" | "ERR_CALCULATED_CID_DOES_NOT_MATCH" | "ERR_FAILED_TO_FETCH_THUMBNAIL_URL_OF_LINK" | "ERR_FAILED_TO_FETCH_THUMBNAIL_DIMENSION_OF_LINK" | "ERR_COMMUNITY_NAME_HAS_CAPITAL_LETTER" | "ERR_GATEWAY_TIMED_OUT_OR_ABORTED" | "ERR_FAILED_TO_PARSE_CID_FROM_GATEWAY_RESPONSE_ETAG" | "ERR_GATEWAY_MISSING_ETAG_HEADER" | "ERR_GATEWAY_ABORTING_LOADING_COMMUNITY_BECAUSE_SAME_INVALID_COMMUNITY_RECORD" | "ERR_GATEWAY_ABORTING_LOADING_COMMUNITY_BECAUSE_SAME_UPDATE_CID" | "ERR_GATEWAY_ABORTING_LOADING_COMMUNITY_BECAUSE_WE_ALREADY_LOADED_THIS_RECORD" | "ERR_GATEWAY_PROVIDED_INCORRECT_X_IPFS_ROOTS" | "ERR_REMOTE_COMMUNITY_RECEIVED_ALREADY_PROCCESSED_RECORD" | "ERR_COMMENT_RECEIVED_ALREADY_PROCESSED_COMMENT_UPDATE" | "ERR_FETCH_CID_P2P_TIMEOUT" | "ERR_FETCH_CID_P2P_TIMEOUT_AFTER_RETRIES" | "ERR_RESOLVED_IPNS_P2P_TO_UNDEFINED" | "ERR_IPNS_RESOLUTION_P2P_TIMEOUT" | "ERR_IPNS_MAX_HOPS_EXCEEDED" | "ERR_RESOLVED_IPNS_TO_UNSUPPORTED_VALUE" | "ERR_GATEWAY_IPNS_RECORD_CHAIN_INVALID" | "ERR_FIND_PROVIDERS_TIMEOUT" | "ERR_NO_DEFAULT_IPFS_PROVIDER" | "ERR_NO_DEFAULT_PUBSUB_PROVIDER" | "ERR_NO_DEFAULT_KUBO_RPC_PUBSUB_PROVIDER" | "ERR_NO_DEFAULT_KUBO_RPC_IPFS_PROVIDER" | "ERR_CAN_NOT_HAVE_BOTH_KUBO_AND_LIBP2P_JS_CLIENTS_DEFINED" | "ERR_INVALID_PUBSUB_PROVIDER" | "ERR_ADDED_COMMENT_IPFS_TO_IPFS_BUT_GOT_DIFFERENT_CID" | "ERR_NO_PUBSUB_PROVIDERS_AVAILABLE_TO_PUBLISH_OVER_PUBSUB" | "ERR_INVALID_JSON" | "ERR_INVALID_COMMENT_IPFS_SCHEMA" | "ERR_REPLY_HAS_NOT_DEFINED_POST_CID" | "ERR_REPLY_POST_CID_IS_NOT_PARENT_OF_REPLY" | "ERR_POST_CANNOT_HAVE_QUOTED_CIDS" | "ERR_QUOTED_CID_DOES_NOT_EXIST" | "ERR_QUOTED_CID_NOT_UNDER_POST" | "ERR_QUOTED_CID_IS_PENDING_APPROVAL" | "ERR_INVALID_COMMUNITY_IPFS_SCHEMA" | "ERR_INVALID_COMMENT_UPDATE_SCHEMA" | "ERR_INVALID_PAGE_IPFS_SCHEMA" | "ERR_INVALID_MODQUEUE_PAGE_IPFS_SCHEMA" | "ERR_INVALID_CHALLENGE_DECRYPTED_SCHEMA" | "ERR_INVALID_CHALLENGE_VERIFICATION_DECRYPTED_SCHEMA" | "ERR_INVALID_RPC_ENCODED_CHALLENGE_REQUEST_PUBSUB_MSG_SCHEMA" | "ERR_INVALID_RPC_ENCODED_CHALLENGE_PUBSUB_MSG_SCHEMA" | "ERR_INVALID_RPC_ENCODED_CHALLENGE_ANSWER_PUBSUB_MSG_SCHEMA" | "ERR_INVALID_RPC_ENCODED_CHALLENGE_VERIFICATION_PUBSUB_MSG_SCHEMA" | "ERR_INVALID_RPC_LOCAL_COMMUNITY_UPDATE_SCHEMA" | "ERR_INVALID_RPC_COMMUNITY_UPDATING_STATE_SCHEMA" | "ERR_INVALID_RPC_COMMUNITY_STARTED_STATE_SCHEMA" | "ERR_INVALID_RPC_ENCODED_CHALLENGE_REQUEST_WITH_COMMUNITY_AUTHOR_PUBSUB_MSG_SCHEMA" | "ERR_INVALID_RPC_REMOTE_COMMUNITY_SCHEMA" | "ERR_INVALID_RPC_PUBLICATION_PUBLISHING_STATE_SCHEMA" | "ERR_INVALID_RPC_PUBLICATION_STATE_SCHEMA" | "ERR_INVALID_CID_STRING_SCHEMA" | "ERR_LOCAL_COMMUNITY_PRODUCED_INVALID_SCHEMA" | "ERR_INVALID_RPC_COMMENT_UPDATE_SCHEMA" | "ERR_INVALID_RPC_COMMENT_SCHEMA" | "ERR_INVALID_RPC_COMMENT_UPDATING_STATE_SCHEMA" | "ERR_INVALID_RPC_COMMENT_STATE_SCHEMA" | "ERR_INVALID_CREATE_COMMUNITY_ARGS_SCHEMA" | "ERR_INVALID_CREATE_COMMENT_EDIT_ARGS_SCHEMA" | "ERR_INVALID_CREATE_VOTE_ARGS_SCHEMA" | "ERR_INVALID_CREATE_COMMENT_MODERATION_ARGS_SCHEMA" | "ERR_INVALID_CREATE_COMMENT_ARGS_SCHEMA" | "ERR_INVALID_CREATE_REMOTE_COMMUNITY_ARGS_SCHEMA" | "ERR_INVALID_CREATE_COMMUNITY_EDIT_ARGS_SCHEMA" | "ERR_GENERIC_RPC_INVALID_SCHEMA" | "ERR_INVALID_NEW_WS_SERVER_SETTINGS_SCHEMA" | "ERR_INVALID_CREATE_NEW_LOCAL_COMMUNITY_USER_OPTIONS" | "ERR_INVALID_COMMENT_EDIT_CHALLENGE_REQUEST_TO_ENCRYPT_SCHEMA" | "ERR_INVALID_VOTE_CHALLENGE_REQUEST_TO_ENCRYPT_SCHEMA" | "ERR_INVALID_COMMENT_CHALLENGE_REQUEST_TO_ENCRYPT_SCHEMA" | "ERR_INVALID_COMMENT_MODERATION_CHALLENGE_REQUEST_TO_ENCRYPT_SCHEMA" | "ERR_INVALID_COMMUNITY_EDIT_CHALLENGE_REQUEST_TO_ENCRYPT_SCHEMA" | "ERR_COMMUNITY_EDIT_OPTIONS_SCHEMA" | "ERR_INVALID_CHALLENGE_ANSWERS" | "ERR_INVALID_CREATE_PKC_WS_SERVER_OPTIONS_SCHEMA" | "ERR_INVALID_CREATE_PKC_ARGS_SCHEMA" | "ERR_INVALID_CREATE_COMMUNITY_WITH_RPC_ARGS_SCHEMA" | "ERR_CAN_NOT_SET_EXCLUDE_PUBLICATION_TO_EMPTY_OBJECT" | "ERR_COMMUNITY_HAS_NO_INTERNAL_STATE" | "ERR_AUTHOR_ADDRESS_NOT_MATCHING_SIGNER" | "ERR_AUTHOR_ADDRESS_IS_NOT_A_DOMAIN_OR_B58" | "ERR_SIGNATURE_PUBLIC_KEY_IS_NOT_B58" | "ERR_PUBLICATION_FAILED_TO_DECRYPT_CHALLENGE" | "ERR_SIGNATURE_IS_INVALID" | "ERR_SIGNATURE_HAS_NO_PUBLIC_KEY" | "ERR_COMMENT_UPDATE_EDIT_SIGNATURE_IS_INVALID" | "ERR_THE_COMMUNITY_IPNS_RECORD_POINTS_TO_DIFFERENT_ADDRESS_THAN_WE_EXPECTED" | "ERR_COMMUNITY_NAME_RESOLVES_TO_DIFFERENT_PUBLIC_KEY" | "ERR_AUTHOR_NOT_MATCHING_SIGNATURE" | "ERR_AUTHOR_NAME_MUST_BE_A_DOMAIN" | "ERR_COMMUNITY_IPNS_NAME_DOES_NOT_MATCH_SIGNATURE_PUBLIC_KEY" | "ERR_COMMENT_SHOULD_BE_THE_LATEST_EDIT" | "ERR_COMMENT_UPDATE_IS_NOT_SIGNED_BY_COMMUNITY" | "ERR_AUTHOR_EDIT_IS_NOT_SIGNED_BY_AUTHOR" | "ERR_COMMENT_UPDATE_DIFFERENT_CID_THAN_COMMENT" | "ERR_PAGE_COMMENT_POST_HAS_POST_CID_DEFINED_WITH_DEPTH_0" | "ERR_CHALLENGE_MSG_SIGNER_IS_NOT_COMMUNITY" | "ERR_CHALLENGE_VERIFICATION_MSG_SIGNER_IS_NOT_COMMUNITY" | "ERR_CHALLENGE_REQUEST_ID_NOT_DERIVED_FROM_SIGNATURE" | "ERR_CHALLENGE_SIGNATURE_IS_INVALID" | "ERR_CHALLENGE_VERIFICATION_SIGNATURE_IS_INVALID" | "ERR_LOCAL_COMMUNITY_PRODUCED_INVALID_SIGNATURE" | "ERR_COMMUNITY_POSTS_INVALID" | "ERR_COMMENT_IPFS_SIGNATURE_IS_INVALID" | "ERR_COMMENT_UPDATE_SIGNATURE_IS_INVALID" | "ERR_COMMENT_IPFS_RECORD_INCLUDES_RESERVED_FIELD" | "ERR_COMMENT_IPFS_AUTHOR_INCLUDES_RESERVED_FIELD" | "ERR_COMMENT_UPDATE_RECORD_INCLUDES_RESERVED_FIELD" | "ERR_COMMUNITY_EDIT_HAS_RESERVED_FIELD" | "ERR_COMMUNITY_SIGNATURE_IS_INVALID" | "ERR_COMMUNITY_RECORD_INCLUDES_RESERVED_FIELD" | "ERR_FAILED_TO_RESOLVE_COMMUNITY_DOMAIN" | "ERR_FAILED_TO_RESOLVE_AUTHOR_DOMAIN" | "ERR_AUTHOR_DOMAIN_RESOLVES_TO_DIFFERENT_SIGNER" | "ERR_COMMUNITY_RECORD_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_VOTE_RECORD_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_COMMENT_EDIT_RECORD_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_COMMENT_MODERATION_RECORD_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_COMMENT_PUBSUB_RECORD_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_COMMENT_UPDATE_RECORD_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_CHALLENGE_REQUEST_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_CHALLENGE_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_CHALLENGE_ANSWER_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_CHALLENGE_VERIFICATION_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_COMMUNITY_EDIT_RECORD_INCLUDES_FIELD_NOT_IN_SIGNED_PROPERTY_NAMES" | "ERR_COMMUNITY_CHANGED_COMMENT_PUBSUB_PUBLICATION_PROPS" | "ERR_COMMUNITY_SENT_CHALLENGE_VERIFICATION_WITH_INVALID_COMMENT" | "ERR_COMMUNITY_SENT_CHALLENGE_VERIFICATION_WITH_INVALID_COMMENTUPDATE" | "ERR_COMMUNITY_SENT_CHALLENGE_VERIFICATION_WITH_INVALID_CID" | "ERR_PAGE_COMMENT_IS_INVALID" | "ERR_PAGE_COMMENT_IS_A_REPLY_BUT_HAS_NO_PARENT_COMMENT_INSTANCE" | "ERR_PAGE_COMMENT_DEPTH_VALUE_IS_NOT_RELATIVE_TO_ITS_PARENT" | "ERR_PAGE_COMMENT_PARENT_DOES_NOT_EXIST_IN_FLAT_PAGE" | "ERR_PAGE_COMMENT_POST_CID_IS_NOT_SAME_AS_POST_CID_OF_COMMENT_INSTANCE" | "ERR_REPLY_IN_FLAT_PAGE_HAS_NO_PARENT_CID" | "ERR_PAGE_COMMENT_NO_WAY_TO_DERIVE_POST_CID" | "ERR_POSTS_PAGE_IS_INVALID" | "ERR_REPLIES_PAGE_IS_INVALID" | "ERR_USER_ATTEMPTS_TO_VALIDATE_REPLIES_PAGE_WITHOUT_PARENT_COMMENT_CID" | "ERR_USER_ATTEMPTS_TO_VALIDATE_REPLIES_PAGE_WITHOUT_PARENT_COMMENT_DEPTH" | "ERR_USER_ATTEMPTS_TO_VALIDATE_REPLIES_PAGE_WITHOUT_PARENT_COMMENT_POST_CID" | "ERR_USER_ATTEMPTS_TO_GET_REPLIES_PAGE_WITHOUT_PARENT_COMMENT_CID" | "ERR_USER_ATTEMPTS_TO_GET_REPLIES_PAGE_WITHOUT_PARENT_COMMENT_DEPTH" | "ERR_USER_ATTEMPTS_TO_GET_REPLIES_PAGE_WITHOUT_PARENT_COMMENT_POST_CID" | "ERR_FAILED_TO_FIND_REPLY_COMMENT_UPDATE_WITHIN_PARENT_COMMENT_PAGE_CIDS" | "ERR_COMMUNITY_REGISTRY_LOOKUP_HAS_NO_ALIASES" | "ERR_INVALID_COMMENT_IPFS" | "ERR_COMMENT_MISSING_POST_CID" | "ERR_INVALID_COMMENT_UPDATE" | "ERR_COMMENT_IN_PAGE_BELONG_TO_DIFFERENT_COMMUNITY" | "ERR_PARENT_CID_OF_COMMENT_IN_PAGE_IS_NOT_CORRECT" | "ERR_PAGE_SIGNATURE_IS_INVALID" | "ERR_MOD_QUEUE_PAGE_IS_INVALID" | "ERR_CHALLENGE_ANSWER_WITH_NO_CHALLENGE_REQUEST" | "ERR_REUSED_PUBSUB_MSG_SIGNER" | "ERR_PUBSUB_MSG_TIMESTAMP_IS_OUTDATED" | "ERR_UNAUTHORIZED_COMMENT_EDIT" | "ERR_COMMUNITY_COMMENT_TIMESTAMP_IS_EARLIER_THAN_PARENT" | "ERR_USER_PUBLISHED_UNDER_PENDING_COMMENT" | "ERR_USER_PUBLISHED_UNDER_DISAPPROVED_COMMENT" | "ERR_MOD_ATTEMPTING_TO_APPROVE_OR_DISAPPROVE_COMMENT_THAT_IS_NOT_PENDING" | "ERR_PUBLICATION_PARENT_DOES_NOT_EXIST_IN_COMMUNITY" | "ERR_COMMUNITY_PUBLICATION_PARENT_CID_NOT_DEFINED" | "ERR_PUBLICATION_INVALID_COMMUNITY_ADDRESS" | "ERR_PUBLICATION_USES_DEPRECATED_SUBPLEBBIT_ADDRESS" | "ERR_PUBLICATION_USES_DEPRECATED_COMMUNITY_ADDRESS" | "ERR_PUBLICATION_INVALID_COMMUNITY_PUBLIC_KEY" | "ERR_PUBLICATION_INVALID_COMMUNITY_NAME" | "ERR_AUTHOR_IS_BANNED" | "ERR_PUBLICATION_HAS_NO_AUTHOR_ADDRESS" | "ERR_COMMUNITY_PUBLICATION_PARENT_HAS_BEEN_REMOVED" | "ERR_COMMUNITY_PUBLICATION_PARENT_HAS_BEEN_DELETED" | "ERR_COMMUNITY_PUBLICATION_POST_HAS_BEEN_DELETED" | "ERR_COMMUNITY_PUBLICATION_POST_HAS_BEEN_REMOVED" | "ERR_COMMUNITY_PUBLICATION_POST_IS_LOCKED" | "ERR_COMMUNITY_PUBLICATION_POST_IS_ARCHIVED" | "ERR_FORBIDDEN_AUTHOR_FIELD" | "ERR_FORBIDDEN_COMMENT_FIELD" | "ERR_FORBIDDEN_SIGNER_FIELD" | "ERR_DUPLICATE_COMMENT" | "ERR_DUPLICATE_COMMENT_MODERATION" | "ERR_DUPLICATE_COMMENT_EDIT" | "ERR_AUTHOR_ADDRESS_UNDEFINED" | "ERR_COMMUNITY_FAILED_TO_DECRYPT_PUBSUB_MSG" | "ERR_REQUEST_PUBLICATION_OVER_ALLOWED_SIZE" | "UNAUTHORIZED_AUTHOR_ATTEMPTED_TO_CHANGE_VOTE" | "COMMENT_LINK_LENGTH_IS_OVER_LIMIT" | "INCORRECT_VOTE_VALUE" | "ERR_COMMENT_HAS_INVALID_LINK_FIELD" | "ERR_POST_LINK_IS_NOT_OF_MEDIA" | "ERR_REPLY_HAS_INVALID_LINK_FIELD" | "ERR_REPLY_LINK_IS_NOT_OF_MEDIA" | "ERR_COMMENT_CONTENT_CONTAINS_MARKDOWN_IMAGE" | "ERR_COMMENT_CONTENT_CONTAINS_MARKDOWN_VIDEO" | "ERR_COMMENT_HAS_LINK_THAT_IS_IMAGE" | "ERR_COMMENT_HAS_LINK_THAT_IS_VIDEO" | "ERR_COMMENT_HAS_SPOILER_ENABLED" | "ERR_REPLY_HAS_LINK_THAT_IS_IMAGE" | "ERR_REPLY_HAS_LINK_THAT_IS_VIDEO" | "ERR_COMMENT_HAS_LINK_THAT_IS_AUDIO" | "ERR_REPLY_HAS_LINK_THAT_IS_AUDIO" | "ERR_REPLY_HAS_LINK" | "ERR_COMMENT_CONTENT_CONTAINS_MARKDOWN_AUDIO" | "ERR_REPLY_HAS_SPOILER_ENABLED" | "ERR_NESTED_REPLIES_NOT_ALLOWED" | "ERR_COMMENT_HAS_NO_CONTENT_LINK_TITLE" | "ERR_COMMENT_EDIT_HAS_NO_EDIT_FIELD" | "ERR_COMMENT_MODERATION_HAS_NO_MODERATION_FIELD" | "ERR_REQUEST_ENCRYPTED_IS_INVALID_JSON_AFTER_DECRYPTION" | "ERR_REQUEST_ENCRYPTED_HAS_INVALID_SCHEMA_AFTER_DECRYPTING" | "ERR_CHALLENGE_REQUEST_ENCRYPTED_HAS_NO_PUBLICATION_AFTER_DECRYPTING" | "ERR_CHALLENGE_REQUEST_ENCRYPTED_HAS_MULTIPLE_PUBLICATIONS_AFTER_DECRYPTING" | "ERR_CHALLENGE_ANSWER_IS_INVALID_JSON" | "ERR_CHALLENGE_ANSWER_IS_INVALID_SCHEMA" | "ERR_COMMENT_HAS_RESERVED_FIELD" | "ERR_VOTE_HAS_RESERVED_FIELD" | "ERR_COMMENT_EDIT_HAS_RESERVED_FIELD" | "ERR_PUBLICATION_AUTHOR_HAS_RESERVED_FIELD" | "ERR_COMMENT_EDIT_CAN_NOT_EDIT_COMMENT_IF_NOT_ORIGINAL_AUTHOR" | "ERR_COMMENT_MODERATION_NO_COMMENT_TO_EDIT" | "ERR_COMMENT_EDIT_NO_COMMENT_TO_EDIT" | "ERR_COMMENT_MODERATION_HAS_RESERVED_FIELD" | "ERR_COMMENT_MODERATION_ATTEMPTED_WITHOUT_BEING_MODERATOR" | "ERR_COMMUNITY_EDIT_ATTEMPTED_TO_MODIFY_OWNER_EXCLUSIVE_PROPS" | "ERR_COMMUNITY_EDIT_ATTEMPTED_TO_MODIFY_COMMUNITY_WITHOUT_BEING_OWNER_OR_ADMIN" | "ERR_COMMUNITY_EDIT_ATTEMPTED_TO_NON_PUBLIC_PROPS" | "ERR_PUBLICATION_TIMESTAMP_IS_NOT_IN_PROPER_RANGE" | "ERR_NOT_ALLOWED_TO_PUBLISH_UPVOTES" | "ERR_NOT_ALLOWED_TO_PUBLISH_DOWNVOTES" | "ERR_NOT_ALLOWED_TO_PUBLISH_POST_DOWNVOTES" | "ERR_NOT_ALLOWED_TO_PUBLISH_POST_UPVOTES" | "ERR_NOT_ALLOWED_TO_PUBLISH_REPLY_DOWNVOTES" | "ERR_NOT_ALLOWED_TO_PUBLISH_REPLY_UPVOTES" | "ERR_THERE_IS_NO_PREVIOUS_VOTE_TO_CANCEL" | "ERR_POST_FLAIRS_NOT_ALLOWED" | "ERR_POST_FLAIRS_REQUIRED" | "ERR_POST_FLAIR_NOT_IN_ALLOWED_FLAIRS" | "ERR_AUTHOR_FLAIRS_NOT_ALLOWED" | "ERR_AUTHOR_FLAIRS_REQUIRED" | "ERR_AUTHOR_FLAIR_NOT_IN_ALLOWED_FLAIRS" | "ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_LOCK_REPLY" | "ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_ARCHIVE_REPLY" | "ERR_COMMUNITY_COMMENT_EDIT_UNAUTHORIZED_FIELD" | "ERR_PUBLISHING_EDIT_WITH_BOTH_MOD_AND_AUTHOR_FIELDS" | "ERR_FAILED_TO_RESOLVE_TEXT_RECORD" | "ERR_NO_CHAIN_PROVIDER_FOR_CHAIN_TICKER" | "ERR_NO_RESOLVER_FOR_NAME" | "ERR_DOMAIN_TXT_RECORD_NOT_FOUND" | "ERR_DOMAIN_COMMUNITY_ADDRESS_TXT_RECORD_POINT_TO_DIFFERENT_ADDRESS" | "ERR_RESOLVED_TEXT_RECORD_TO_NON_IPNS" | "ERR_COMMUNITY_DOMAIN_HAS_NO_TEXT_RECORD" | "ERR_LOCAL_COMMUNITY_HAS_NO_SIGNER_IN_INTERNAL_STATE" | "ERR_COMMUNITY_STATE_LOCKED" | "ERR_COMMUNITY_CREATION_LOCKED" | "ERR_COMMUNITY_ALREADY_STARTED" | "ERR_FAILED_TO_IMPORT_IPFS_KEY" | "ERR_LOCAL_COMMUNITY_PRODUCED_INVALID_RECORD" | "ERR_FAILED_TO_PARSE_LOCAL_RAW_IPNS_RECORD" | "ERR_FAILED_TO_LOAD_LOCAL_RAW_IPNS_RECORD" | "ERR_FAILED_TO_IMPORT_CHALLENGE_FILE_FACTORY" | "ERR_FAILED_TO_IMPORT_CHALLENGE_FILE" | "ERR_INVALID_RESULT_FROM_GET_CHALLENGE_FUNCTION" | "ERR_LOCAL_COMMUNITY_RECORD_TOO_LARGE" | "ERR_CAN_NOT_LOAD_DB_IF_LOCAL_COMMUNITY_ALREADY_STARTED_IN_ANOTHER_PROCESS" | "ERR_CAN_NOT_EDIT_A_LOCAL_COMMUNITY_THAT_IS_ALREADY_STARTED_IN_ANOTHER_PROCESS" | "CAN_NOT_LOAD_LOCAL_COMMUNITY_IF_DB_DOES_NOT_EXIST" | "ERR_COMMUNITY_START_FAILED_UNKNOWN_ERROR" | "ERR_COMMUNITY_ALREADY_STARTED_IN_SAME_PKC_INSTANCE" | "ERR_PAGE_GENERATED_IS_OVER_EXPECTED_SIZE" | "ERR_PUBSUB_FAILED_TO_SUBSCRIBE" | "ERR_PUBSUB_FAILED_TO_UNSUBSCRIBE" | "ERR_PUBSUB_FAILED_TO_PUBLISH" | "ERR_PUBSUB_DID_NOT_RECEIVE_RESPONSE_AFTER_PUBLISHING_CHALLENGE_REQUEST" | "ERR_ALL_PUBSUB_PROVIDERS_THROW_ERRORS" | "ERR_CHALLENGE_REQUEST_RECEIVED_NO_RESPONSE_FROM_ANY_PROVIDER" | "ERR_PUBLICATION_DID_NOT_RECEIVE_RESPONSE" | "ERR_RPC_AUTH_REQUIRED" | "ERR_FAILED_TO_OPEN_CONNECTION_TO_RPC" | "ERR_FAILED_TO_CREATE_WS_RPC_SERVER" | "ERR_RPC_CLIENT_ATTEMPTING_TO_START_A_REMOTE_COMMUNITY" | "ERR_RPC_CLIENT_TRYING_TO_STOP_COMMUNITY_THAT_IS_NOT_RUNNING" | "ERR_RPC_CLIENT_TRYING_TO_STOP_REMOTE_COMMUNITY" | "ERR_RPC_CLIENT_TRYING_TO_EDIT_REMOTE_COMMUNITY" | "ERR_RPC_CLIENT_TRYING_TO_DELETE_REMOTE_COMMUNITY" | "ERR_GENERIC_RPC_CLIENT_CALL_ERROR" | "ERR_RPC_CLIENT_CHALLENGE_NAME_NOT_AVAILABLE_ON_SERVER" | "ERR_ROLE_ADDRESS_NAME_COULD_NOT_BE_RESOLVED" | "ERR_COMMUNITY_NOT_LOCAL" | "ERR_COMMUNITY_NOT_FOUND" | "ERR_PRIVATE_KEY_EXPORT_NOT_ALLOWED" | "ERR_EXPORT_PATH_NOT_SUPPORTED_OVER_RPC" | "ERR_EXPORT_PATH_TARGETS_LIVE_DB" | "ERR_EXPORT_CANCELLED" | "ERR_EXPORT_BACKUP_FAILED" | "ERR_DOWNLOAD_EXPORT_ID_NOT_FOUND" | "ERR_CHALLENGE_RESULT_OVERRIDES_COMMENT_SIGNED_FIELD" | "ERR_CHALLENGE_RESULT_OVERRIDES_RESERVED_COMMENT_UPDATE_FIELD" | "ERR_CHALLENGE_RESULT_OVERRIDES_NON_COMMUNITY_AUTHOR_KEY" | "ERR_CHALLENGE_RESULT_OVERRIDES_RESERVED_COMMUNITY_AUTHOR_FIELD";
        message: messages;
        stack: string | undefined;
        details: Record<string, any>;
    };
    [Symbol.toPrimitive](hint: string): string;
    private injectDetailsIntoStack;
    private formatDetails;
    private static jsonReplacer;
}
export declare class FailedToFetchCommunityFromGatewaysError extends PKCError {
    details: {
        ipnsName: string;
        gatewayToError: Record<string, PKCError>;
    } & {
        [key: string]: any;
    };
    constructor(details: FailedToFetchCommunityFromGatewaysError["details"]);
}
export declare class FailedToFetchCommentIpfsFromGatewaysError extends PKCError {
    details: {
        commentCid: string;
        gatewayToError: Record<string, PKCError>;
    } & {
        [key: string]: any;
    };
    constructor(details: FailedToFetchCommentIpfsFromGatewaysError["details"]);
}
export declare class FailedToFetchCommentUpdateFromGatewaysError extends PKCError {
    details: {
        gatewayToError: Record<string, PKCError>;
    } & {
        [key: string]: any;
    };
    constructor(details: FailedToFetchCommentUpdateFromGatewaysError["details"]);
}
export declare class FailedToFetchPageIpfsFromGatewaysError extends PKCError {
    details: {
        pageCid: string;
        gatewayToError: Record<string, PKCError>;
    } & {
        [key: string]: any;
    };
    constructor(details: FailedToFetchPageIpfsFromGatewaysError["details"]);
}
export declare class FailedToFetchGenericIpfsFromGatewaysError extends PKCError {
    details: {
        cid: string;
        gatewayToError: Record<string, PKCError>;
    } & {
        [key: string]: any;
    };
    constructor(details: FailedToFetchGenericIpfsFromGatewaysError["details"]);
}
