import type { IFdtoTimesheet, Timesheet } from "../types/timesheet"; export declare const useTimesheetStore: () => { timesheets: import("vue").Ref<{ start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[], Timesheet[] | { start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[]>; $state: { timesheets: { start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[]; } & import("pinia").PiniaCustomStateProperties; readTimesheet: (start: Date, end: Date) => Promise; updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise; }, "timesheets">>; $patch(partialState: import("pinia")._DeepPartial<{ timesheets: { start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[]; }>): void; $patch any>(stateMutator: ReturnType extends Promise ? never : F): void; $reset(): void; $subscribe(callback: import("pinia").SubscriptionCallback; readTimesheet: (start: Date, end: Date) => Promise; updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise; }, "timesheets">>, options?: ({ detached?: boolean | undefined; } & import("vue").WatchOptions) | undefined): () => void; $onAction(callback: import("pinia").StoreOnActionListener<"timesheet", Pick<{ timesheets: import("vue").Ref<{ start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[], Timesheet[] | { start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[]>; readTimesheet: (start: Date, end: Date) => Promise; updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise; }, "timesheets">, Pick<{ timesheets: import("vue").Ref<{ start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[], Timesheet[] | { start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[]>; readTimesheet: (start: Date, end: Date) => Promise; updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise; }, never>, Pick<{ timesheets: import("vue").Ref<{ start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[], Timesheet[] | { start: string; end: string; totalMin: number; duration: string; restaurantId: string; restaurantName: string; endedAt?: string | null | undefined; user: { name: string; id: string; }; _id: string; startedAt: string; }[]>; readTimesheet: (start: Date, end: Date) => Promise; updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise; }, "readTimesheet" | "updateTimesheet">>, detached?: boolean | undefined): () => void; $dispose(): void; $id: "timesheet"; _customProperties: Set; readTimesheet: (start: Date, end: Date) => Promise; updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise; };