import { Address } from '@solana/addresses'; import { SolanaSigner } from '@solana/keychain-core'; import { SignableMessage, SignatureDictionary } from '@solana/signers'; import { Transaction, TransactionWithinSizeLimit, TransactionWithLifetime } from '@solana/transactions'; import type { AwsKmsSignerConfig } from './types.js'; /** * Create an AWS KMS-backed signer. * * @throws {SignerError} `SIGNER_CONFIG_ERROR` when required config is missing or invalid. */ export declare function createAwsKmsSigner(config: AwsKmsSignerConfig): SolanaSigner; /** * AWS KMS-based signer using EdDSA (Ed25519) signing * * The AWS KMS key must be created with: * - Key spec: ECC_NIST_EDWARDS25519 * - Key usage: SIGN_VERIFY * * Example AWS CLI command to create a key: * ```bash * aws kms create-key \ * --key-spec ECC_NIST_EDWARDS25519 \ * --key-usage SIGN_VERIFY \ * --description "Solana signing key" * ``` * * @deprecated Prefer `createAwsKmsSigner()`. Class export will be removed in a future version. */ export declare class AwsKmsSigner implements SolanaSigner { readonly address: Address; private readonly keyId; private readonly client; private readonly requestDelayMs; /** @deprecated Use `createAwsKmsSigner()` instead. */ static create(config: AwsKmsSignerConfig): AwsKmsSigner; /** @deprecated Use `createAwsKmsSigner()` instead. Direct construction will be removed in a future version. */ constructor(config: AwsKmsSignerConfig); /** * Sign message bytes using AWS KMS EdDSA signing */ private signBytes; /** * Sign multiple messages using AWS KMS */ signMessages(messages: readonly SignableMessage[]): Promise; /** * Sign multiple transactions using AWS KMS */ signTransactions(transactions: readonly (Transaction & TransactionWithinSizeLimit & TransactionWithLifetime)[]): Promise; /** * Check if AWS KMS is available and the key is accessible */ isAvailable(): Promise; } //# sourceMappingURL=aws-kms-signer.d.ts.map