import { UserIdentityAttributes } from "../../server/index.js"; import { Value } from "../../values/value.js"; import { Context, OneoffCtx } from "../../bundler/context.js"; export declare function runFunctionAndLog(ctx: Context, args: { deploymentUrl: string; adminKey: string; functionName: string; argsString: string; identityString?: string | undefined; componentPath?: string | undefined; callbacks?: { onSuccess?: () => void | undefined; } | undefined; }): Promise; export declare function parseArgs(ctx: Context, argsString: string): Promise>; export declare function parseFunctionName(ctx: Context, functionName: string, functionDirName: string): Promise; export declare function runSystemPaginatedQuery(ctx: Context, args: { deploymentUrl: string; adminKey: string; functionName: string; componentPath: string | undefined; args: Record; limit?: number; }): Promise[]>; export declare function runSystemQuery(ctx: Context, args: { deploymentUrl: string; adminKey: string; functionName: string; componentPath: string | undefined; args: Record; }): Promise; export declare function formatValue(value: Value): string; export declare function subscribeAndLog(ctx: Context, args: { deploymentUrl: string; adminKey: string; functionName: string; argsString: string; identityString?: string | undefined; componentPath: string | undefined; }): Promise; export declare function subscribe(_ctx: Context, args: { deploymentUrl: string; adminKey: string; identity?: UserIdentityAttributes | undefined; parsedFunctionName: string; parsedFunctionArgs: Record; componentPath: string | undefined; until: Promise; callbacks?: { onStart?: () => void; onChange?: (result: Value) => void; onStop?: () => void; } | undefined; }): Promise; export declare function runInDeployment(ctx: OneoffCtx, args: { deploymentUrl: string; adminKey: string; deploymentName: string | null; functionName: string; argsString: string; identityString?: string | undefined; push: boolean; watch: boolean; typecheck: "enable" | "try" | "disable"; typecheckComponents: boolean; codegen: boolean; componentPath: string | undefined; liveComponentSources: boolean; }): Promise; export declare function pushToDeployment(ctx: OneoffCtx, args: { deploymentUrl: string; adminKey: string; deploymentName: string | null; typecheck: "enable" | "try" | "disable"; typecheckComponents: boolean; codegen: boolean; liveComponentSources: boolean; }): Promise; //# sourceMappingURL=run.d.ts.map