import type { WalletProviderId } from "../config/types.wallet.js";
export type WalletRpcSecretChain = "solana" | "multi";
export type WalletRpcSecretRecord = {
    chain: WalletRpcSecretChain;
    provider: string;
    apiKey: string;
    rpcUrl?: string;
    createdAt: string;
    updatedAt: string;
};
export type WalletProviderSecretRecord = {
    providerId: WalletProviderId;
    credentials: Record<string, string>;
    createdAt: string;
    updatedAt: string;
};
export type WalletProviderSecretStatus = {
    configured: boolean;
    providerId: WalletProviderId;
    updatedAt?: string;
    fields: string[];
    path: string;
};
export type WalletRpcSecretStatus = {
    configured: boolean;
    providerId?: WalletProviderId;
    chain?: WalletRpcSecretChain;
    provider?: string;
    updatedAt?: string;
    path: string;
};
export declare function saveWalletRpcSecret(input: {
    chain: WalletRpcSecretChain;
    providerId?: WalletProviderId;
    provider: string;
    apiKey: string;
    rpcUrl?: string;
}, env?: NodeJS.ProcessEnv): WalletRpcSecretRecord;
export declare function saveWalletProviderSecret(input: {
    providerId: WalletProviderId;
    credentials: Record<string, string>;
}, env?: NodeJS.ProcessEnv): WalletProviderSecretRecord;
export declare function loadWalletRpcSecret(env?: NodeJS.ProcessEnv, options?: {
    providerId?: WalletProviderId;
}): WalletRpcSecretRecord | null;
export declare function loadWalletProviderSecret(providerId: WalletProviderId, env?: NodeJS.ProcessEnv): WalletProviderSecretRecord | null;
export declare function deleteWalletRpcSecret(env?: NodeJS.ProcessEnv): {
    removed: boolean;
    path: string;
    removedPaths?: string[];
};
export declare function deleteWalletRpcSecretForProvider(providerId: WalletProviderId, env?: NodeJS.ProcessEnv): {
    removed: boolean;
    path: string;
};
export declare function deleteWalletProviderSecret(providerId: WalletProviderId, env?: NodeJS.ProcessEnv): {
    removed: boolean;
    path: string;
};
export declare function readWalletRpcSecretStatus(env?: NodeJS.ProcessEnv, options?: {
    providerId?: WalletProviderId;
}): WalletRpcSecretStatus;
export declare function readWalletProviderSecretStatus(providerId: WalletProviderId, env?: NodeJS.ProcessEnv): WalletProviderSecretStatus;
