import { StoryLocator } from '../types/story.types.js';
export interface GetTextInput {
    /** Restrict the read to a specific story. Omit for body (backward compatible). */
    in?: StoryLocator;
}
/**
 * Engine-specific adapter that the getText API delegates to.
 */
export interface GetTextAdapter {
    /**
     * Return the full document text content.
     */
    getText(input: GetTextInput): string;
}
/**
 * Execute a getText operation via the provided adapter.
 *
 * @param adapter - Engine-specific getText adapter.
 * @param input - Canonical getText input object.
 * @returns The full document text content.
 */
export declare function executeGetText(adapter: GetTextAdapter, input: GetTextInput): string;
//# sourceMappingURL=get-text.d.ts.map