import { type RequireAuthOk } from '../agent/require-auth.js'; type AuthedHandler = (args: Args, auth: RequireAuthOk) => Promise; export declare function withAuth(handler: AuthedHandler): (args: Args) => Promise<{ content: { type: "text"; text: string; }[]; isError: boolean; } | Ret>; export {}; //# sourceMappingURL=_with-auth.d.ts.map