///
import type { ToolName, AnnotationData } from '@labelu/image';
import type { GlobalAnnotationPayload } from './annotation.context';
export interface ImageSample {
id: string | number;
name?: string;
url: string;
meta?: {
width: number;
height: number;
rotate: number;
};
data: Partial & Partial>;
}
export interface SampleContextType {
currentSample: ImageSample | undefined;
samples: ImageSample[];
onSampleSelect: (sample: ImageSample) => void;
}
export declare const SampleContext: import("react").Context;
export declare function useSample(): SampleContextType;
//# sourceMappingURL=sample.context.d.ts.map