import { Chart } from "../models/Chart"; export declare const useCharts: ({ all, id }: { all?: boolean; id?: string; }) => { isLoading: boolean; error: Error | null; chart: Chart | null; charts: Chart[]; create: (chart: Omit) => Promise; update: (id: string, data: Partial) => Promise; remove: (id: string) => Promise; load: () => Promise; find: (id: string) => Promise; };