/**
 * Seed / extend the `issue` entity schema.
 *
 * Issues represent collaborative threads between Neotoma users and
 * maintainers, backed by GitHub Issues. Each issue has a related
 * conversation entity containing conversation_message entities for
 * each message in the thread.
 *
 * Registered as a GLOBAL schema (user_specific: false) because issues
 * are produced by infrastructure tooling, not per-user workflows.
 * Idempotent: safe to call on every server start.
 */
import type { FieldDefinition, SchemaRegistryEntry } from "../schema_registry.js";
import { SchemaRegistryService } from "../schema_registry.js";
export declare const ISSUE_ENTITY_TYPE = "issue";
/**
 * Ensure the global `issue` schema exists and has every field required
 * by the issues subsystem. Also backfills the seeded guest access policy on
 * every active issue schema row, including user-scoped rows from older
 * installs, without overriding an explicitly configured valid policy.
 * Safe to call multiple times.
 */
export declare function seedIssueSchema(options?: {
    registry?: SchemaRegistryService;
}): Promise<SchemaRegistryEntry>;
export declare const ISSUE_FIELD_SPECS: ReadonlyArray<{
    name: string;
    type: FieldDefinition["type"];
    required?: boolean;
    reducer?: "last_write" | "highest_priority" | "most_specific" | "merge_array";
    description?: string;
}>;
//# sourceMappingURL=seed_schema.d.ts.map