14 lines
438 B
TypeScript
14 lines
438 B
TypeScript
interface TourState {
|
|
currentTour: any;
|
|
legs: any[];
|
|
publicTours: any[];
|
|
userRole: string | null;
|
|
setTour: (tour: any) => void;
|
|
updateLegs: (legs: any[]) => void;
|
|
optimizeRouting: () => Promise<void>;
|
|
fetchTour: (id: string) => Promise<void>;
|
|
fetchPublicTours: () => Promise<void>;
|
|
}
|
|
export declare const useTourStore: import("zustand").UseBoundStore<import("zustand").StoreApi<TourState>>;
|
|
export {};
|