import type { Rpc } from "@solana/kit"; export type AutoSent = { [K in keyof T]: T[K] extends (...args: infer A) => infer R ? R extends { send: (...b: any[]) => infer S; } ? (...args: A) => S extends Promise ? Promise

: Promise : T[K] : T[K]; }; export declare const wrapAutoSend: >(raw: T) => AutoSent; //# sourceMappingURL=wrapAutoSend.d.ts.map