/**
 * Canvas environment → host mapping.
 *
 * All host/URL knowledge for the adapter lives here: consumers declare
 * WHERE their docs are (environment + org + resource + doc ids) and never
 * assemble URLs by hand. The `vX` path segment is literal — the Canvas CRUD
 * API versions itself via a capability marker in its descriptors, not the
 * URL.
 */
import type { CanvasSource } from "./types.js";
/** Hosts for the source's environment. */
export declare function canvasHosts(source: Pick<CanvasSource, "environment">): {
    api: string;
    dashboard: string;
};
/** Canvas CRUD path prefix (`<api host>/vX/canvases/<resourceId>/assist`). */
export declare function canvasApiBase(source: Pick<CanvasSource, "environment" | "resourceId">): string;
/**
 * Dashboard URL for a Canvas document — the human-facing link used as the
 * stable `resource` in fetch-failure reports.
 */
export declare function canvasViewUrl(source: Pick<CanvasSource, "environment" | "organizationId">, documentId: string): string;
/** Path shape of a dashboard doc URL — the parse-side twin of {@link canvasViewUrl}. */
export declare const DASHBOARD_DOC_PATH: RegExp;
