import type { Fisherman, InitParams } from './types'; export declare function init(params: InitParams): Promise; export declare function destroy(): void; /** * Manually updates the access token. * * Use this method when your application already knows * the token is invalid or has been refreshed (e.g., after a cookie update, * session renewal, or page visibility change). * * @param newToken - The new access token string. * If omitted, the token will be just removed. No requests will not be retried. */ export declare function updateAccessToken(newToken?: string): void;