import type { MedusaRequest, MedusaResponse, MedusaNextFunction, MedusaStoreRequest } from '@medusajs/framework'; import type { SearchTypes } from '@medusajs/types'; export { ContainerRegistrationKeys, QueryContext, ProductStatus, MedusaError, isPresent, FeatureFlag, } from '@medusajs/utils'; type MiddlewareFn = (req: MedusaRequest, res: MedusaResponse, next: MedusaNextFunction) => void | Promise; interface ContextOptions { priceFieldPaths?: string[]; } export declare const authenticate: (actor: string, methods: string[], options?: { allowUnauthenticated?: boolean; }) => MiddlewareFn; export declare const applyDefaultFilters: (defaults: Record) => MiddlewareFn; export declare const clearFiltersByKey: (keys: string[]) => MiddlewareFn; export declare const maybeApplyLinkFilter: (config: { entryPoint: string; resourceId: string; filterableField: string; filterByField?: string; }) => MiddlewareFn; export declare const filterByValidSalesChannels: () => MiddlewareFn; export declare const transformAndValidateSalesChannelIds: (req: MedusaStoreRequest) => string[]; export declare const prepareInventoryQuantityFields: (fields: string[], options?: { relation?: string; }) => { fields: string[]; withInventoryQuantity: boolean; }; export declare const normalizeDataForContext: (options?: ContextOptions) => MiddlewareFn; export declare const setPricingContext: (options?: ContextOptions) => MiddlewareFn; export declare const setTaxContext: (options?: ContextOptions) => MiddlewareFn; export declare const wrapVariantsWithInventoryQuantityForSalesChannel: (req: MedusaStoreRequest, variants: unknown[]) => Promise; export declare const wrapVariantsWithTotalInventoryQuantity: (req: MedusaRequest, variants: unknown[]) => Promise; export declare const listProductQueryConfig: any; export declare const StoreGetProductsParams: any; export declare const wrapProductsWithTaxPrices: (req: MedusaRequest, products: unknown[]) => Promise; export declare const listProductCategoryConfig: any; export declare const StoreProductCategoriesParams: any; export declare const applyCategoryFilters: MiddlewareFn; export declare const publishedProductsContext: () => Record; export declare function getRegisteredSearchIndexes(): SearchTypes.SearchIndexDefinition[]; //# sourceMappingURL=medusa.d.ts.map