import type { Core } from '@strapi/strapi'; export interface ComponentInfo { uid: string; category: string; displayName: string; attributes: Record; } export interface PaginatedResult { data: T[]; pagination: { page: number; pageSize: number; total: number; pageCount: number; }; } declare const componentService: ({ strapi }: { strapi: Core.Strapi; }) => { /** * Get all components with pagination */ getAll(page?: number, pageSize?: number): PaginatedResult; /** * Get a specific component by UID */ getByUid(uid: string): ComponentInfo | null; /** * Get all components in a specific category */ getByCategory(category: string): ComponentInfo[]; /** * Get all component categories */ getCategories(): string[]; /** * Check if a component UID is valid */ isValidUid(uid: string): boolean; }; export default componentService;