import type { PermittedHandlerExport } from "@metamask/permission-controller";
import type { ClearStateParams, ClearStateResult } from "@metamask/snaps-sdk";
import { type InferMatching } from "@metamask/snaps-utils";
/**
 * `snap_clearState` clears the state of the Snap.
 */
export declare const clearStateHandler: PermittedHandlerExport<ClearStateHooks, ClearStateParameters, ClearStateResult>;
export type ClearStateHooks = {
    /**
     * A function that clears the state of the requesting Snap.
     */
    clearSnapState: (encrypted: boolean) => void;
    /**
     * Check if the requesting origin has a given permission.
     *
     * @param permissionName - The name of the permission to check.
     * @returns Whether the origin has the permission.
     */
    hasPermission: (permissionName: string) => boolean;
};
declare const ClearStateParametersStruct: import("@metamask/superstruct").Struct<{
    encrypted?: boolean | undefined;
}, {
    encrypted: import("@metamask/superstruct").Struct<boolean | undefined, null>;
}>;
export type ClearStateParameters = InferMatching<typeof ClearStateParametersStruct, ClearStateParams>;
export {};
//# sourceMappingURL=clearState.d.cts.map