import { type Address } from 'viem'; import { Permission } from '../types/ContractTypes'; export declare const ETH_ADDRESS = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"; export declare const EVERYONE_ADDRESS = "0x0000000000000000000000000000000000000001"; export declare const MOCK_ADDRESS = "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"; export declare const MOCK_ADDRESS_2 = "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbee2"; export declare const MOCK_ADDRESS_3 = "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbee3"; export declare const MOCK_ADDRESS_4 = "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbee4"; export declare const MOCK_ADDRESS_5 = "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbee5"; export declare class NoEntitledWalletError extends Error { constructor(); /** * throwIfRuntimeErrors is a helper function to process AggregateErrors emitted from Promise.any that may * contain promises rejected with NoEntitledWalletErrors, which represent an entitlement check that evaluates * to false, and not a true error condition. This method will filter out NoEntitledWalletErrors and throw an * AggregateError with the remaining errors, if any exist. Otherwise, it will simply return undefined. * @param error AggregateError * @returns undefined * @throws AggregateError */ static throwIfRuntimeErrors: (error: AggregateError) => undefined; } export declare function SpaceAddressFromSpaceId(spaceId: string): Address; export declare function SpaceIdFromSpaceAddress(spaceAddress: string): string; /** * Use this function in the default case of a exhaustive switch statement to ensure that all cases are handled. * Always throws JSON RPC error. * @param value Switch value * @param message Error message * @param code JSON RPC error code * @param data Optional data to include in the error */ export declare function checkNever(value: never, message?: string): never; export declare function parseChannelMetadataJSON(metadataStr: string): { name: string; description: string; }; export declare function toPermissions(permissions: readonly string[]): Permission[]; export declare function stringifyChannelMetadataJSON({ name, description, }: { name: string; description: string; }): string; //# sourceMappingURL=ut.d.ts.map