import { type LanguageAdapter } from '@opensip-cli/core'; import type { Shard } from './shard-model.js'; import type { GraphLanguageAdapter } from '../../lang-adapter/types.js'; import type { GraphConfig } from '../../types.js'; export interface EngineShardPolicyResolution { readonly shards: Shard[]; readonly partition?: { readonly durationMs: number; readonly detail: string; }; } export interface DefaultEngineShardPolicyInput { readonly projectRoot: string; readonly languageAdapters: readonly LanguageAdapter[]; readonly graphAdapter: GraphLanguageAdapter; readonly graphConfig: GraphConfig; readonly forcedLanguage: boolean; /** Producer preserves historical exact fallback; verifier must fail closed. */ readonly failureMode?: 'producer-fallback' | 'verification-error'; } /** * Canonical default exact/sharded policy shared by the producer and freshness * verifier. It performs discovery/partition planning only; it never parses or * walks source files. */ export declare function resolveDefaultEngineShards(input: DefaultEngineShardPolicyInput): Promise; //# sourceMappingURL=engine-shard-policy.d.ts.map