import type { WorkspaceEntry } from "@stigmer/protos/ai/stigmer/agentic/session/v1/workspace_pb";
import type { ResolvedPathAction } from "./file-path-resolver";
/**
 * Context value that carries workspace entries and an optional click
 * handler to {@link FilePathLink} components deep in the tree.
 *
 * Provided by {@link MessageThread} (or a platform builder's custom
 * wrapper). When no provider is present, `FilePathLink` degrades to
 * copy-to-clipboard for all paths.
 */
export interface FilePathContextValue {
    /** Workspace entries from the session spec, used for path resolution. */
    readonly workspaceEntries: readonly WorkspaceEntry[];
    /**
     * Optional override for the default click behavior. When provided,
     * `FilePathLink` delegates to this callback instead of opening
     * a URL or copying to clipboard. Platform builders use this to
     * integrate their own file viewer or navigation.
     */
    readonly onFilePathClick?: (path: string, resolved: ResolvedPathAction) => void;
}
/** Context that supplies workspace file-path metadata for display-time path resolution. */
export declare const FilePathContext: import("react").Context<FilePathContextValue>;
//# sourceMappingURL=FilePathContext.d.ts.map