import * as babel from '@babel/core'; import { PRPCPluginOptions } from '.'; export declare const addRequestIfNeeded: (serverFunction: any, t: typeof babel.types, path: babel.NodePath, usingMw: boolean) => void; declare const allowedMethod: readonly ["createCaller", "createAction"]; export declare const getNodeInfo: (path: babel.NodePath, t: typeof babel.types, currentFileName: string, advanced?: boolean) => { isMiddleware: boolean; isGet: "createCaller" | "createAction" | null; callee: babel.types.Expression | babel.types.V8IntrinsicIdentifier; obName: null; originalName: null; isWrapped: boolean; currentFileName: string; _shouldUseMw: boolean; }; export declare const isGetId: (t: typeof babel.types, path: any) => null | (typeof allowedMethod)[number]; export declare const getFunctionArgs: (path: babel.NodePath, t: typeof babel.types, nodeInfo: Awaited>) => { serverFunction: any; key: babel.types.StringLiteral; protected: babel.types.BooleanLiteral; zodSchema: babel.types.Expression | babel.types.ArgumentPlaceholder | babel.types.SpreadElement | undefined; _fnType: "action" | "query"; _method: "GET" | "POST"; _cache: boolean; }; export declare const cleanOutParams: (name: string, path: babel.NodePath, id: string | ReturnType<(typeof babel.types)["identifier"]>, t: typeof babel.types) => void; export declare const shiftMiddleware: (temp: typeof babel.template, t: typeof babel.types, path: babel.NodePath, serverFunction: any, originalName?: string | null, _shouldUse?: boolean) => boolean; export declare const afterImports: (path: babel.NodePath, value: any) => void; export declare const getBuilderName: (path: babel.NodePath) => never; export declare const handleBuilderMw: (path: babel.NodePath, t: typeof babel.types, sharedName: string | null) => void; export declare const exportBuilderMw: (mwKeys: string[], path: babel.NodePath, t: typeof babel.types) => void; export declare const importIfNotThere: (path: babel.NodePath, t: typeof babel.types, name: string, loc?: string) => void; export declare const appendSession: (path: babel.NodePath, t: typeof babel.types, temp: typeof babel.template, serverFunction: any, isProtected: boolean, _opts?: PRPCPluginOptions) => void; export declare const handleMw: (t: typeof babel.types, path: babel.NodePath) => void; export declare const onProgramExit: (t: typeof babel.types, path: babel.NodePath) => void; export declare const readValue: (t: typeof babel.types, temp: any, parentPath: any, _currentFileName: string, name: string, advanced?: boolean) => { isWrapped: boolean; originalName: string; method: never; _shouldUseMw?: undefined; } | { isWrapped: boolean; originalName: string; method: never; _shouldUseMw: boolean; }; export {};