import { type AccountData, type DirectSignResponse, type OfflineDirectSigner } from "@cosmjs/proto-signing"; import { TurnkeyClient, TurnkeyActivityError, TurnkeyRequestError } from "@turnkey/http"; import type { TurnkeyBrowserClient } from "@turnkey/sdk-browser"; import type { TurnkeyServerClient } from "@turnkey/sdk-server"; import type { TurnkeySDKClientBase } from "@turnkey/core"; import type { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx"; type TConfig = { /** * Turnkey client */ client: TurnkeyClient | TurnkeyBrowserClient | TurnkeyServerClient | TurnkeySDKClientBase; /** * Turnkey organization ID */ organizationId: string; /** * Turnkey wallet account public key or private key ID */ signWith: string; }; export declare class TurnkeyDirectWallet implements OfflineDirectSigner { static init(input: { config: TConfig; prefix?: string | undefined; }): Promise; static initWithPublicKey(input: { config: TConfig; prefix?: string | undefined; }): TurnkeyDirectWallet; readonly prefix: string; readonly organizationId: string; readonly signWith: string; private readonly client; private readonly compressedPublicKey; private constructor(); private get address(); getAccounts(): Promise; signDirect(address: string, signDoc: SignDoc): Promise; private _signImpl; } export declare function fetchCompressedPublicKey(input: { client: TurnkeyClient | TurnkeyBrowserClient | TurnkeyServerClient | TurnkeySDKClientBase; privateKeyId: string; organizationId: string; }): Promise<{ compressedPublicKey: Uint8Array; }>; export { TurnkeyActivityError, TurnkeyRequestError }; //# sourceMappingURL=index.d.ts.map