/**
 * standalone/index.ts — Zero-orchestration standards discovery (C20).
 *
 * Public entry point for consumers running their own orchestrator (Continue,
 * Aider, a custom agent) who only need read-only access to Aperant's
 * standards artifacts: AGENTS.md principles, resolved profile chain,
 * feature registry, design tokens, and design taste.
 *
 * Pure function contract:
 *   - No `process.exit`, no writes, no mutation of `.aperant/state.json`.
 *   - Errors are returned as `{ok: false, error, project_dir}`, never thrown.
 *   - Missing sections degrade to `null` per-section (not whole-bundle fail)
 *     EXCEPT an explicit `opts.profile` that fails to resolve, which is
 *     treated as a caller contract violation and returned as whole-bundle
 *     error.
 *
 * Reuses (no re-implementation):
 *   - parseAgentsMd / deriveKeywords / normalizeTitle from cli/constitution/parse.mjs
 *   - resolveProfile from cli/profile/resolve.mjs
 *   - createCoordinationStore for shared-root lookup (worktree-aware)
 *   - FeatureRegistrySchema for per-area validation
 *
 * No imports from orchestration modules (task/*, gate/*, route/*, wfrun/*,
 * team/*, roadmap/*).
 */
import type { DiscoverStandardsOptions, StandardsBundle } from './types';
export type { DesignTokens, DiscoverStandardsOptions, FeatureRegistryArea, FeatureRegistryInvalid, Principle, ResolvedProfile, StandardsBundle, StandardsBundleError, StandardsBundleOk, } from './types';
/**
 * Discover the project's standards artifacts as a single read-only bundle.
 *
 * @param projectDir directory containing (directly or via worktree shared root)
 *   AGENTS.md + `.aperant/` artifacts.
 * @param opts optional knobs. `opts.profile` resolves the cascade and merges
 *   the profile's obligations into `constitution.principles` (AGENTS.md wins
 *   on title collision).
 * @returns StandardsBundle — `{ok: true, ...}` on success; `{ok: false, error}`
 *   if `projectDir` does not exist or an explicit `opts.profile` fails to
 *   resolve.
 */
export declare function discoverStandards(projectDir: string, opts?: DiscoverStandardsOptions): StandardsBundle;
//# sourceMappingURL=index.d.ts.map