import { Result } from 'neverthrow';
import { StandbyRefreshRequest } from '@shardeum-foundation/lib-types/build/src/p2p/JoinTypes';
export declare function submitStandbyRefresh(publicKey: string): Promise<Result<void, Error>>;
export interface StandbyRefreshRequestResponse {
    success: boolean;
    reason: string;
    fatal: boolean;
}
export declare function addStandbyRefresh(standbyRefreshRequest: StandbyRefreshRequest): StandbyRefreshRequestResponse;
/**
 * Returns the list of new StandbyRefreshRequest requests and empties the list.
 */
export declare function drainNewStandbyRefreshRequests(): StandbyRefreshRequest[];
