import { AnswerSpec, Answer, FilterValueArray, StandardReportConfig } from '../Utils/WdkModel'; import WdkService from '../Service/WdkService'; import { Step } from '../Utils/WdkUser'; import { AnswerFormatting } from '../Service/Mixins/SearchReportsService'; export interface StepResultType { type: 'step'; step: Step; } export interface BasketResultType { type: 'basket'; basketName: string; } export interface AnswerSpecResultType { type: 'answerSpec'; answerSpec: AnswerSpec; displayName: string; } export declare type ResultType = StepResultType | BasketResultType | AnswerSpecResultType; export interface ResultTypeDetails { searchName: string; recordClassName: string; } export declare function getResultTypeDetails(wdkService: WdkService, resultType: ResultType): Promise; export declare function getStandardReport(wdkService: WdkService, resultType: ResultType, reportConfig: StandardReportConfig, viewFilters?: FilterValueArray): Promise; export declare function getCustomReport(wdkService: WdkService, resultType: ResultType, formatting: AnswerFormatting): Promise; export declare function downloadReport(wdkService: WdkService, resultType: ResultType, formatting: AnswerFormatting, target: string): Promise; //# sourceMappingURL=WdkResult.d.ts.map