import { DelegateAction, SignedDelegate } from '@near-js/transactions'; export type DelegateProvderProtocol = { payer: string; activateAccount(accountId: string, publicKey: string, network: string): Promise; isCanDelegate(action: DelegateAction, network?: string): Promise; sendDelegate(action: SignedDelegate, network?: string): Promise; }; export declare class DelegateNotAllowed extends Error { } export declare class DelegateRequestError extends Error { } export declare class HEREDelegateProvider implements DelegateProvderProtocol { endpoint: string; payer: string; activateAccount(accountId: string, publicKey: string, network: string): Promise; isCanDelegate(action: DelegateAction, network?: string): Promise; sendDelegate(action: SignedDelegate, network?: string): Promise; }