import type { SANDOLL_CategoryType } from '../types'; export type Pagination = { page: number; limit: number; }; export type Filter = { sort: 'trending' | 'popularity' | 'date' | 'alpha'; order: 'ASC' | 'DESC'; }; export type SearchQuery = { usecase?: 'EDITOR'; searchTerm?: string; }; export type SandollFont = { id: string; distinctId: string; fontEnumValue: string; provider: string; fontName: string; fontFamilyName: string; supportedWeights: number[]; providerFontId: string; providerFontName: string; providerFontFamilyId: string; providerFontFamilyName: string; providerCssInfoDict: CSSInfoDict; category: SANDOLL_CategoryType; }; export type CSSInfoDict = { fontFamily: string; fontWeight: number; }; export type SupportedOptionMap = {}; export type FontResponse = { data: { availableFonts: SandollFont[]; supportedOptions: SupportedOptionMap; pagination: Pagination; }; }; export type SandollFontsQueryParams = { pagination: Pagination; searchQuery: SearchQuery; filter: Filter; categories: SANDOLL_CategoryType[]; isGlobal: boolean; }; export type PublHeaders = { channelToken: string; channelId: string; };