import { Rotation } from '@embedpdf/models'; import { RotatePlugin, RotateScope } from '../../lib/index.ts'; /** * Hook to get the raw rotate plugin instance. */ export declare const useRotatePlugin: () => { plugin: RotatePlugin | null; isLoading: boolean; ready: Promise; }; /** * Hook to get the rotate plugin's capability API. * This provides methods for rotating the document. */ export declare const useRotateCapability: () => { provides: Readonly | null; isLoading: boolean; ready: Promise; }; interface UseRotateReturn { provides: RotateScope | null; rotation: Rotation; } /** * Hook that provides reactive rotation state and methods for a specific document. * @param getDocumentId Function that returns the document ID */ export declare const useRotate: (getDocumentId: () => string | null) => UseRotateReturn; export {};