import type { AuthService } from '../Auth';
import type { DiscoveryNodeSelectorService } from '../DiscoveryNodeSelector';
import type { LoggerService } from '../Logger';
export declare type StorageNodeSelectorService = {
    getSelectedNode: (forceReselect?: boolean) => Promise<string | null>;
    getNodes: (cid: string) => string[];
    triedSelectingAllNodes: () => boolean;
};
export declare type StorageNode = {
    endpoint: string;
    delegateOwnerWallet: string;
};
export declare type StorageNodeSelectorConfigInternal = {
    /**
     * Starting list of healthy storage nodes to use before a discovery node is selected
     */
    bootstrapNodes: StorageNode[];
    /**
     * Logger service, defaults to console logging
     */
    logger: LoggerService;
};
export declare type StorageNodeSelectorConfig = Partial<StorageNodeSelectorConfigInternal> & {
    /**
     * The Authentication service, used to get the user's wallet for rendevous calculations
     */
    auth: AuthService;
    /**
     * DiscoveryNodeSelector instance being used, so that the node can listen for
     * selection events and update its healthy storage node list
     */
    discoveryNodeSelector: DiscoveryNodeSelectorService;
};
