import React, { ReactNode } from "react"; import type { AminahConfig, IssueData, CompleteIssue, AnnotationTool } from "@aminah/features"; import type { N8nResponse } from "@aminah/features"; import { Screenshot, AnnotationManager, StepTracker } from "@aminah/features"; export interface AminahState { isOpen: boolean; isAnnotating: boolean; isCapturing: boolean; screenshot: string | null; captureMode: "viewport" | "fullpage"; currentTool: string; currentColor: string; config: AminahConfig; } interface AminahContextType { state: AminahState; screenshot: Screenshot; annotationManager: AnnotationManager | null; setAnnotationManager: (manager: AnnotationManager | null) => void; stepTracker: StepTracker; openModal: () => void; closeModal: () => void; startAnnotation: () => void; endAnnotation: () => void; captureScreenshot: (mode?: "viewport" | "fullpage") => Promise; retakeScreenshot: () => Promise; setTool: (tool: AnnotationTool) => void; setColor: (color: string) => void; submitIssue: (issueData: IssueData) => Promise; submitToN8n: (issueData: IssueData) => Promise; exportToJSON: (issue: CompleteIssue) => void; updateConfig: (config: Partial) => void; updateScreenshot: (screenshot: string) => void; reset: () => void; startStepTracking: () => void; stopStepTracking: () => void; clearSteps: () => void; getSteps: () => any[]; } interface AminahProviderProps { children: ReactNode; config?: Partial; } export declare function AminahProvider({ children, config }: AminahProviderProps): React.JSX.Element; export declare function useAminah(): AminahContextType; export {}; //# sourceMappingURL=AminahProvider.d.ts.map