import type { SharedExtensionMetaInfo } from './model/model-types'; import type { MethodParams } from './params'; export declare class ResultSpec { #private; private readonly declared; static from(result: unknown): ResultSpec; private constructor(); get isLoader(): boolean; get returnType(): string; get isDeclared(): boolean; toMetaInfo(ownerId: string, params: MethodParams): Pick; runLoader(bag: object): Promise; }