import { PageType } from './useRouterStore'; export type Field = 'CREATED_AT' | 'NAME' | 'PUBLISHED_AT' | 'UPDATED_AT' | 'NL_SEARCH'; export type Direction = 'ASC' | 'DESC'; export type Ordering = { field: Field; direction: Direction; }; type OrderingState = { assets: Ordering; collections: Ordering; collection: Ordering; setOrdering: (page: PageType, ordering: Ordering) => void; reset: () => void; }; export declare const useOrderingStore: import('zustand').UseBoundStore, "setState" | "devtools"> & { setState(partial: OrderingState | Partial | ((state: OrderingState) => OrderingState | Partial), replace?: false | undefined, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; setState(state: OrderingState | ((state: OrderingState) => OrderingState), replace: true, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; devtools: { cleanup: () => void; }; }>; export declare const useOrderingSelectors: { (): OrderingState; (selector: (state: OrderingState) => U): U; } & Omit, "setState" | "devtools"> & { setState(partial: OrderingState | Partial | ((state: OrderingState) => OrderingState | Partial), replace?: false | undefined, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; setState(state: OrderingState | ((state: OrderingState) => OrderingState), replace: true, action?: (string | { [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; type: string; }) | undefined): void; devtools: { cleanup: () => void; }; } & { use: { assets: () => Ordering; collections: () => Ordering; collection: () => Ordering; setOrdering: () => (page: PageType, ordering: Ordering) => void; reset: () => () => void; }; }; export declare const useOrderingByPage: (page: PageType) => [Ordering, (ordering: Ordering) => void]; export {};