import { T2 } from '@devvit/shared-types/tid.js'; /** * A type representing a Vault (crypto wallet). */ export type Vault = { /** * The provider of the Vault address. * @example 'ethereum' */ provider: string; /** * The ID (starting with t2_) of the user owning the Vault. * @example 't2_1w72' */ userId: T2; /** * The address of the Vault. * @example '0x205ee28744456bDBf180A0Fa7De51e0F116d54Ed' */ address: string; /** * The date the Vault was created. */ createdAt: string; /** * Whether the Vault is active. */ isActive: boolean; }; export declare function getVaultByAddress(address: string): Promise; export declare function getVaultByUserId(userId: T2): Promise; //# sourceMappingURL=Vault.d.ts.map