import { type ContextModule } from "@ledgerhq/context-module"; import { type DeviceManagementKit, type DeviceSessionId } from "@ledgerhq/device-management-kit"; import { type SolanaSignerFeaturesNames } from "../internal/app-binder/SolanaApplicationResolver"; import { DefaultSignerSolana } from "../internal/DefaultSignerSolana"; type SignerSolanaBuilderConstructorArgs = { dmk: DeviceManagementKit; sessionId: DeviceSessionId; originToken?: string; solanaRPCURL?: string; disabledFeatures?: ReadonlyArray; }; /** * Builder for the `SignerSolana` class. * * @example * ``` * const signer = new SignerSolanaBuilder({ dmk, sessionId }) * .build(); * ``` */ export declare class SignerSolanaBuilder { private _dmk; private _sessionId; private _customContextModule; private _originToken; private readonly _solanaRPCURL; private readonly _disabledFeatures; constructor({ dmk, sessionId, originToken, solanaRPCURL, disabledFeatures, }: SignerSolanaBuilderConstructorArgs); /** * Override the default context module * * @param contextModule * @returns this */ withContextModule(contextModule: ContextModule): this; /** * Build the solana signer * * @returns the solana signer */ build(): DefaultSignerSolana; } export {}; //# sourceMappingURL=SignerSolanaBuilder.d.ts.map