import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { QueryModelDataOptions, QueryModelDataResponse, QueryModelDataApplicationErrors, GetModelResponse, GetModelApplicationErrors, ListModelsResponse, ListModelsApplicationErrors } from './index.typings.mjs'; export { CacheControlEnum, CacheControlEnumWithLiterals, CacheSatusEnum, CacheSatusEnumWithLiterals, Control, DateTimeInterval, FieldFilter, FieldVisibilityEnum, FieldVisibilityEnumWithLiterals, GetModelRequest, ListModelsRequest, Model, ModelField, ModelFieldDataRow, ModelFieldFilters, ModelFieldTypeEnum, ModelFieldTypeEnumWithLiterals, ModelFieldValue, ModelFieldValueValueOneOf, ModelFilterConditionEnum, ModelFilterConditionEnumWithLiterals, ModelFilterPrefixEnum, ModelFilterPrefixEnumWithLiterals, Paging, PagingMetadata, QueryModelDataRequest, SemanticModel, SortOrder, SortOrderWithLiterals, Sorting, Status } from './index.typings.mjs'; declare function queryModelData$1(httpClient: HttpClient): QueryModelDataSignature; interface QueryModelDataSignature { /** * Retrieves data from a semantic model, given the provided fields, filters, sorting, and paging. * * * Query Model Data runs with these defaults, which you can override: * * - `paging.limit` is `50` * - `paging.offset` is `0` * * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection). * @param - ID or slug of the model to query. Call `List Models` to retrieve available model IDs. * @returns Response for querying data from a semantic model. */ (modelId: string, options?: NonNullablePaths): Promise & { __applicationErrorsType?: QueryModelDataApplicationErrors; }>; } declare function getModel$1(httpClient: HttpClient): GetModelSignature; interface GetModelSignature { /** * Retrieves a semantic model by ID or slug. * @param - ID or slug of the model to retrieve. Call `List Models` to retrieve available model IDs. * @returns Response for retrieving a semantic model. */ (modelId: string): Promise & { __applicationErrorsType?: GetModelApplicationErrors; }>; } declare function listModels$1(httpClient: HttpClient): ListModelsSignature; interface ListModelsSignature { /** * Retrieves a list of all available semantic models. * @returns Response for listing all available semantic models. */ (): Promise & { __applicationErrorsType?: ListModelsApplicationErrors; }>; } declare const queryModelData: MaybeContext & typeof queryModelData$1>; declare const getModel: MaybeContext & typeof getModel$1>; declare const listModels: MaybeContext & typeof listModels$1>; export { GetModelApplicationErrors, GetModelResponse, ListModelsApplicationErrors, ListModelsResponse, QueryModelDataApplicationErrors, QueryModelDataOptions, QueryModelDataResponse, getModel, listModels, queryModelData };