import type { DiscoveryOptions, DiscoverySession } from "./types.js"; export type DiscoveryProviderContext = { targetDir?: string; declaredIntent?: string; options?: DiscoveryOptions; }; export interface DiscoverySessionProvider { id: string; version: string; /** * Produce a DiscoverySession from the supplied provider context. * * Must be read-only and deterministic for the same inputs. */ discover(context: DiscoveryProviderContext): Promise; } export declare const DEFAULT_DISCOVERY_SESSION_PROVIDER_ID = "discovery:default-session-provider"; export declare const DEFAULT_DISCOVERY_SESSION_PROVIDER_VERSION = "1.0.0"; /** * Create the default DiscoverySessionProvider. * * The provider resolves the target directory, configures a filesystem * source, optionally enables the Git observation capability when a `.git` * directory is present, and returns a full DiscoverySession produced by * the default Discovery engine. */ export declare function createDefaultDiscoverySessionProvider(): DiscoverySessionProvider;