import { AuthChain } from '@dcl/crypto/dist/types'; import { DecentralandSignatureData, VerifyAuthChainHeadersOptions } from './types'; export declare function isEIP1664AuthChain(authChain: AuthChain): boolean; export declare function extractAuthChain(headers: Record): AuthChain; export declare function verifyPersonalSign(authChain: AuthChain, payload: string): Promise; export declare function verifyEIP1654Sign(authChain: AuthChain, payload: string, options?: Pick): Promise; export declare function verifySign(authChain: AuthChain, payload: string, options?: Pick): Promise; export declare function verifyTimestamp(value?: string | string[]): number; export declare function verifyMetadata(value?: string | string[]): Record; export declare function verifyExpiration(timestamp: number, options?: VerifyAuthChainHeadersOptions): boolean; export declare function createPayload(method: string, path: string, rawTimestamp: string | string[] | undefined, rawMetadata: string | string[] | undefined): string; export default function verify

(method: string, path: string, headers: Record, options?: VerifyAuthChainHeadersOptions): Promise>;