import { AuthApiTransports } from "../../shared/transports.js"; import { PolyesterMutationOptions, PolyesterRequestOptions } from "../../shared/request-options.js"; import { SubaccountResolver } from "../subaccount-resolver.js"; import { BatchGuardApprovals, BatchSignProtectedActionInput, CreateGuardSignerWalletResult, ExportGuardSignerWalletResult, GuardApproval, GuardSignerScopedInput, GuardSignerStatus, RotateGuardSignerWalletResult, SignProtectedActionInput } from "./guard-signer.schemas.js"; //#region src/services/guard-signer/guard-signer.d.ts /** * Manages backend guard signer wallets and approval signatures for protected Polyester account actions. */ declare class GuardSignerService { #private; constructor(transports: AuthApiTransports, resolver?: SubaccountResolver); /** * Creates a guard signer wallet for the resolved account target and returns the generated signer EVM address. */ createWallet(input?: GuardSignerScopedInput, options?: PolyesterMutationOptions): Promise; /** * Returns stored and live guard signer status for the resolved account target, including signer address, on-chain signer, initialization state, nonce, and nonce space. Returns null when the backend reports the wallet is not found. */ getStatus(input?: GuardSignerScopedInput, options?: PolyesterRequestOptions): Promise; /** * Creates one guard approval signature for a supported protected action, such as whitelist updates or whitelist requirement changes. Returns null if the backend response has no approval payload. */ signProtectedAction(input: SignProtectedActionInput, options?: PolyesterMutationOptions): Promise; /** * Creates ordered guard approval signatures for a batch of protected actions and verifies the backend returned one approval per requested action. */ batchSignProtectedActions(input: BatchSignProtectedActionInput, options?: PolyesterMutationOptions): Promise; /** * Generates a backend-managed replacement guard signer for the resolved account target and returns the new signer address plus the rotation approval payload. */ rotateWallet(input?: GuardSignerScopedInput, options?: PolyesterMutationOptions): Promise; /** * Exports guard signer private key material for the resolved account target after owner authorization and fresh step-up, returning the backend export response. */ exportWallet(input?: GuardSignerScopedInput, options?: PolyesterMutationOptions): Promise; private resolveInput; } //#endregion export { GuardSignerService }; //# sourceMappingURL=guard-signer.d.ts.map