import { IconColorNameType } from '@c-fo/vibes/unstable'; import { ApiSearchParams } from '../../types'; export type IndexResourceType = { id: string; selectedColor?: IconColorNameType; text?: string; text2?: string; amount?: number | string; amount2?: number | string; sentence?: string; status?: string; trait?: string; trait2?: string; group?: { title?: string; amount?: number | string; text?: string; sentence?: string; }; tag?: string; multiTag?: string[]; sortKey?: string; isValidating?: boolean; }; export declare enum StoryResourcesType { Normal = "\u30C7\u30FC\u30BF\u3042\u308A", Small = "\u30C7\u30FC\u30BF\u6700\u5C0F\u9650", Empty = "\u30C7\u30FC\u30BF0\u4EF6", RowLoading = "\u884C\u30ED\u30FC\u30C7\u30A3\u30F3\u30B0" } export declare const useStoryResources: (resourceType: StoryResourcesType) => { onChangeSearchParams: (params: ApiSearchParams) => void; resources: IndexResourceType[]; pagination: { totalCount: number; currentPageQueryKey: string; limitValueQueryKey: string; totalAmount?: undefined; }; meta: { totalAmount: number; totalCount: number; }; contentLevelOptions?: undefined; } | { onChangeSearchParams: (params: ApiSearchParams) => void; resources: IndexResourceType[]; pagination: { totalAmount: number; totalCount: number; currentPageQueryKey?: undefined; limitValueQueryKey?: undefined; }; meta?: undefined; contentLevelOptions?: undefined; } | { onChangeSearchParams: (params: ApiSearchParams) => void; resources: IndexResourceType[]; contentLevelOptions: { items: (resource: IndexResourceType) => { isValidating: boolean; }; }; pagination: { totalCount: number; currentPageQueryKey: string; limitValueQueryKey: string; totalAmount?: undefined; }; meta: { totalAmount: number; totalCount: number; }; } | { onChangeSearchParams: (params: ApiSearchParams) => void; resources: IndexResourceType[]; pagination: { totalCount: number; currentPageQueryKey?: undefined; limitValueQueryKey?: undefined; totalAmount?: undefined; }; meta?: undefined; contentLevelOptions?: undefined; };