import type { SQLRequest } from "prostgles-types"; import { type AnyObject } from "prostgles-types"; import type { AuthClientRequest } from "./Auth/AuthTypes"; import type { Prostgles } from "./Prostgles"; import { type PermissionScope } from "./PublishParser/publishTypesAndUtils"; type Args = { tableName: unknown; command: unknown; param1: unknown; param2: unknown; param3: unknown; }; export declare const runClientRequest: (this: Prostgles, nonValidatedArgs: Args, clientReq: AuthClientRequest, scope: PermissionScope | undefined) => Promise; export declare const clientCanRunSqlRequest: (this: Prostgles, clientReq: AuthClientRequest) => Promise<{ allowed: boolean; clientReq: AuthClientRequest; reqInfo?: undefined; } | { allowed: boolean; reqInfo: AuthClientRequest; clientReq?: undefined; }>; export declare const runClientSqlRequest: (this: Prostgles, unvalidatedArgs: SQLRequest, clientReq: AuthClientRequest) => Promise; type ArgsMethod = { name: unknown; input?: unknown; }; export declare const runClientMethod: (this: Prostgles, unvalidatedArgs: ArgsMethod, clientReq: AuthClientRequest) => Promise; export {}; //# sourceMappingURL=runClientRequest.d.ts.map