/**
 * createCanvasLiteracyPreset — Canvas-specific literacy preset.
 *
 * Plugs a `CanvasDocFetcher` into the literacy mode base. The `source`
 * parameter is narrowed by `PresetFactory<"sanity-canvas">` in
 * `PRESET_FACTORY_BY_SOURCE`, so no in-preset type-asserting is needed.
 *
 * The bearer token is resolved eagerly at preset-construction time —
 * a missing token fails fast here rather than at first fetch.
 */
import type { PresetDefinition } from "../../../_vendor/ailf-core/index.d.ts";
import type { CanvasSource } from "./types.js";
export declare function createCanvasLiteracyPreset({ rootDir, source, }: {
    rootDir: string;
    source: CanvasSource;
}): PresetDefinition;
