/** * Canonical category for an SDK public method, used as the `sdk.category` * Sentry tag so the partner-usage dashboard can roll calls up into * `read.*` / `write.*` / `network` / `bridge` buckets. */ export type MethodCategory = 'read.vault' | 'read.position' | 'read.redemption' | 'read.price' | 'read.points' | 'read.subaccount' | 'read.staking' | 'read.layerzero' | 'read.solana' | 'read.stellar' | 'read.sui' | 'read.evm' | 'write.deposit' | 'write.redeem' | 'write.approve' | 'write.points' | 'write.stellar' | 'network' | 'bridge' | 'unknown'; /** * Map of public SDK method names to their {@link MethodCategory}. * * Keys are unqualified because `instrumentClass` walks the prototype and * surfaces them that way; the same name on multiple adapters (e.g. * `vaultDeposit` on EVM, Solana, Stellar) shares the same category. */ export declare const METHOD_CATEGORIES: Readonly>; /** * Look up the category for a method name, defaulting to `'unknown'` for * methods not yet added to {@link METHOD_CATEGORIES}. */ export declare function getMethodCategory(methodName: string): MethodCategory;