import { WeaveObject } from './weaveObject'; export type ParameterNamesOption = 'useParam0Object' | string[] | undefined; export type Op any> = { __isOp: true; __wrappedFunction: T; __boundThis?: WeaveObject; __name: string; __savedRef?: OpRef | Promise; } & T; interface StreamReducer { initialState: R; reduceFn: (state: R, chunk: T) => R; } export interface OpOptions any> { name?: string; streamReducer?: StreamReducer; originalFunction?: T; callDisplayName?: (...args: Parameters) => string; summarize?: (result: Awaited>) => Record; bindThis?: WeaveObject; parameterNames?: ParameterNamesOption; } export declare function isOp(value: any): value is Op; export declare function getOpWrappedFunction any>(opValue: Op): T; export declare function getOpName(opValue: Op): string; export declare function getOpParameterNames(opValue: Op): ParameterNamesOption; export declare class OpRef { projectId: string; objectId: string; digest: string; constructor(projectId: string, objectId: string, digest: string); uri(): string; ui_url(): string; get(): Promise; } export {}; //# sourceMappingURL=opType.d.ts.map