Files
travelplanning/dist/useTourStore.d.ts
T

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: number) => Promise<void>;
fetchPublicTours: () => Promise<void>;
}
export declare const useTourStore: import("zustand").UseBoundStore<import("zustand").StoreApi<TourState>>;
export {};