///
export declare function composeMixins(baseUrl: string): {
_version: number | undefined;
_fetchJson: (method: string, url: string, body?: string | undefined, isBaseUrl?: boolean | undefined) => Promise;
_getFromCache: (key: string, onCacheMiss: () => Promise, checkCachedValue?: (cachedValue: T_1) => boolean) => Promise;
_clearCache: () => Promise;
serviceUrl: string;
sendRequest: (decoder: import("../Utils/Json").Decoder, options: {
method: string;
path: string;
params?: {
[key: string]: any;
} | undefined;
body?: string | undefined;
useCache?: boolean | undefined;
cacheId?: string | undefined;
checkCachedValue?: ((resource: Resource) => boolean) | undefined;
}) => Promise;
submitError: (error: Error, extra?: any) => Promise;
submitErrorIfNot500: (error: Error, extra?: any) => Promise;
submitErrorIfUndelayedAndNot500: (error: Error, extra?: any) => Promise;
getConfig: () => Promise;
getVersion: () => Promise;
getRecordClasses: (() => Promise<(Pick & {
attributesMap: import("lodash").Dictionary;
tablesMap: import("lodash").Dictionary;
})[]>) & import("lodash").MemoizedFunction;
findRecordClass: (urlSegment: string) => Promise & {
attributesMap: import("lodash").Dictionary;
tablesMap: import("lodash").Dictionary;
}>;
getQuestions: () => Promise;
findQuestion: (urlSegment: string) => Promise;
getRecordTypePath: (recordClassUrlSegment: string) => string;
getRecordTypesPath: () => string;
getReportsEndpoint: (recordClassUrlSegment: string, questionUrlSegment: string) => string;
getReportsPath: (recordClassUrlSegment: string, questionUrlSegment: string) => string;
getSearchesPath: (recordClassUrlSegment: string) => string;
getSearchPath: (recordClassUrlSegment: string, questionUrlSegment: string) => string;
getStandardSearchReportEndpoint: (recordClassUrlSegment: string, questionUrlSegment: string) => string;
getCustomSearchReportEndpoint: (recordClassUrlSegment: string, questionUrlSegment: string, reportName: string) => string;
getXmlAnswerJson: (xmlQuestionName: string) => Promise;
getCurrentUser: (options?: {
force?: boolean | undefined;
}) => Promise;
createNewUser: (userWithPrefs: import("../Utils/WdkUser").UserWithPrefs) => Promise;
updateCurrentUser: (user: import("../Utils/WdkUser").User) => Promise;
updateCurrentUserPassword: (oldPassword: string, newPassword: string) => Promise;
resetUserPassword: (email: string) => Promise;
getCurrentUserPreferences: () => Promise>>;
patchSingleUserPreference: (scope: import("../Utils/WdkUser").PreferenceScope, key: string, value: string | null) => Promise>>;
patchScopedUserPreferences: (scope: import("../Utils/WdkUser").PreferenceScope, updates: Record) => Promise>>;
patchUserPreferences: (updates: Record>) => Promise>>;
createTemporaryFile: (file: File) => Promise;
getPublicStrategies: (queryParams?: {
userEmail: string | string[] | undefined;
} | undefined) => Promise;
getStrategies: () => Promise;
createStrategy: (newStrategySpec: import("../Utils/WdkUser").NewStrategySpec, userId?: string) => Promise;
duplicateStrategy: (copyStepSpec: import("../Utils/WdkUser").DuplicateStrategySpec, userId?: string) => Promise;
deleteStrategies: (deleteStrategiesSpecs: import("../Utils/WdkUser").DeleteStrategySpec[], userId?: string) => Promise;
getStrategy: (strategyId: number, userId?: string) => Promise;
deleteStrategy: (strategyId: number, userId?: string) => Promise;
patchStrategyProperties: (strategyId: number, strategyProperties: Partial, userId?: string) => Promise;
putStrategyStepTree: (strategyId: number, newStepTree: import("../Utils/WdkUser").StepTree, userId?: string) => Promise;
getDuplicatedStrategyStepTree: (strategyId: number, userId?: string) => Promise;
findStep: (stepId: number, userId?: string) => Promise;
updateStepProperties: (stepId: number, stepSpec: import("../Utils/WdkUser").PatchStepSpec, userId?: string) => Promise;
createStep: (newStepSpec: import("../Utils/WdkUser").NewStepSpec, userId?: string) => Promise;
getStepCustomReport: (stepId: number, formatting: import("./Mixins/SearchReportsService").AnswerFormatting, userId?: string) => Promise;
getStepStandardReport: (stepId: number, reportConfig: import("../Utils/WdkModel").StandardReportConfig, viewFilters: import("../Utils/WdkModel").FilterValueArray | undefined, userId?: string) => Promise;
getStepColumnReport: (stepId: number, columnName: string, toolName: string, reportConfig: object, userId?: string) => Promise;
getStepFilterSummary: (decoder: import("../Utils/Json").Decoder, stepId: number, filterName: string, userId?: string) => Promise;
deleteStep: (stepId: number, userId?: string) => void;
updateStepSearchConfig: (stepId: number, answerSpec: import("../Utils/WdkModel").SearchConfig, userId?: string) => Promise;
downloadStepReport: (stepId: number, formatting: import("./Mixins/SearchReportsService").AnswerFormatting, target?: string, userId?: string) => Promise;
createStepAnalysis: (stepId: number, baseAnalysisConfig: {
analysisName: string;
displayName?: string | undefined;
parameters: Record;
}) => Promise;
deleteStepAnalysis: (stepId: number, analysisId: number) => Promise;
getAppliedStepAnalyses: (stepId: number) => Promise;
getStepAnalysis: (stepId: number, analysisId: number) => Promise;
getStepAnalysisResult: (stepId: number, analysisId: number) => Promise;
getStepAnalysisStatus: (stepId: number, analysisId: number) => Promise<{
status: import("../Utils/StepAnalysisUtils").StepAnalysisStatus;
}>;
getStepAnalysisTypeParamSpecs: (stepId: number, analysisTypeName: string) => Promise;
getStepAnalysisTypes: (stepId: number) => Promise;
renameStepAnalysis: (stepId: number, analysisId: number, displayName: string) => Promise;
runStepAnalysis: (stepId: number, analysisId: number) => Promise<{
status: import("../Utils/StepAnalysisUtils").StepAnalysisStatus;
}>;
updateStepAnalysisForm: (stepId: number, analysisId: number, formParams: Record) => Promise;
getCustomSearchReportRequestInfo: (answerSpec: import("../Utils/WdkModel").AnswerSpec, formatting: import("./Mixins/SearchReportsService").AnswerFormatting) => Promise;
getAnswer: (answerSpec: import("../Utils/WdkModel").AnswerSpec, formatting: import("./Mixins/SearchReportsService").AnswerFormatting) => Promise;
getAnswerJson: (answerSpec: import("../Utils/WdkModel").AnswerSpec, reportConfig: import("../Utils/WdkModel").StandardReportConfig, viewFilters?: import("../Utils/WdkModel").FilterValueArray | undefined) => Promise;
getTemporaryResultPath: (answerSpecOrStepId: number | import("../Utils/WdkModel").AnswerSpec, reportName: string, reportConfig: unknown) => Promise;
downloadAnswer: (answerRequest: import("./Mixins/SearchReportsService").AnswerRequest, target?: string) => Promise;
getQuestionAndParameters: (questionUrlSegment: string) => Promise;
getQuestionGivenParameters: (questionUrlSegment: string, paramValues: Record) => Promise;
getRefreshedDependentParams: (questionUrlSegment: string, paramName: string, paramValue: string, paramValues: Record) => Promise;
getOntologyTermSummary: (questionUrlSegment: string, paramName: string, filters: any, ontologyId: string, paramValues: Record) => Promise;
getFilterParamSummaryCounts: (questionUrlSegment: string, paramName: string, filters: any, paramValues: Record) => Promise<{
filtered: number;
unfiltered: number;
nativeFiltered: number;
nativeUnfiltered: number;
}>;
getOntology: (name: string) => Promise;
getCategoriesOntology: () => Promise;
tryLogin: (email: string, password: string, redirectUrl: string) => Promise;
logout: () => Promise;
getOauthStateToken: () => Promise<{
oauthStateToken: string;
}>;
getFavoriteId: (recordId: import("../Utils/WdkModel").PrimaryKey, recordClassUrlSegment: string) => Promise;
addFavorite: (recordId: import("../Utils/WdkModel").PrimaryKey, recordClassUrlSegment: string) => Promise;
deleteFavorite: (id: number) => Promise;
deleteFavorites: (ids: number[]) => Promise;
getCurrentFavorites: () => Promise;
saveFavorite: (favorite: import("../Utils/WdkModel").Favorite) => Promise;
undeleteFavorites: (ids: number[]) => Promise;
getRecord: (recordClassUrlSegment: string, primaryKey: import("../Utils/WdkModel").PrimaryKey, options?: {
attributes?: string[] | undefined;
tables?: string[] | undefined;
}) => Promise;
createDataset: (config: import("./Mixins/DatasetsService").DatasetConfig) => Promise;
getDataset: (id: number) => Promise<(string | null)[][]>;
getBasketCounts: () => Promise<{
[recordClassName: string]: number;
}>;
getBasketStatus: (recordClassUrlSegment: string, records: import("../Utils/WdkModel").RecordInstance[]) => Promise;
getBasketStatusPk: (recordClassUrlSegment: string, records: import("../Utils/WdkModel").PrimaryKey[]) => Promise;
updateRecordsBasketStatus: (operation: import("./Mixins/BasketsService").BasketPatchIdsOperation, recordClassUrlSegment: string, primaryKey: import("../Utils/WdkModel").PrimaryKey[]) => Promise;
clearBasket: (recordClassUrlSegment: string) => Promise;
addStepToBasket: (recordClassUrlSegment: string, stepId: number) => Promise;
getBasketCustomReport: (basketName: string, formatting: import("./Mixins/SearchReportsService").AnswerFormatting) => Promise;
getBasketStandardReport: (basketName: string, reportConfig: import("../Utils/WdkModel").StandardReportConfig, viewFilters?: import("../Utils/WdkModel").FilterValueArray | undefined) => Promise;
downloadBasketReport: (basketName: string, formatting: import("./Mixins/SearchReportsService").AnswerFormatting, target?: string) => Promise;
};
export interface CompositeService extends ReturnType {
}
//# sourceMappingURL=ServiceMixins.d.ts.map