import { z } from "zod";
export declare const RELATIONSHIP_ENTITY_ID_FORMAT_HINT = "relationship_entity_id_format";
export declare const RELATIONSHIP_ENTITY_ID_FORMAT_ISSUE_CODE = "ERR_RELATIONSHIP_ENTITY_ID_FORMAT";
export declare const EntityIdSchema: z.ZodObject<{
    entity_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    entity_id: string;
}, {
    entity_id: string;
}>;
export declare const EntitySnapshotRequestSchema: z.ZodObject<{
    entity_id: z.ZodString;
    at: z.ZodOptional<z.ZodString>;
    /**
     * Response text format. Defaults to `markdown` so MCP output is KV-cache
     * stable for LLMs (see canonical_markdown renderer). Use `json` for
     * machine-parseable output (e.g. CLI, tests, dashboards).
     */
    format: z.ZodOptional<z.ZodEnum<["markdown", "json"]>>;
}, "strip", z.ZodTypeAny, {
    entity_id: string;
    at?: string | undefined;
    format?: "markdown" | "json" | undefined;
}, {
    entity_id: string;
    at?: string | undefined;
    format?: "markdown" | "json" | undefined;
}>;
export declare const ListObservationsRequestSchema: z.ZodObject<{
    entity_id: z.ZodString;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    updated_since: z.ZodOptional<z.ZodString>;
    created_since: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    entity_id: string;
    limit: number;
    offset: number;
    updated_since?: string | undefined;
    created_since?: string | undefined;
}, {
    entity_id: string;
    limit?: number | undefined;
    offset?: number | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
}>;
export declare const FieldProvenanceRequestSchema: z.ZodObject<{
    entity_id: z.ZodString;
    field: z.ZodString;
}, "strip", z.ZodTypeAny, {
    entity_id: string;
    field: string;
}, {
    entity_id: string;
    field: string;
}>;
export declare const RelationshipTypeSchema: z.ZodEnum<["PART_OF", "CORRECTS", "REFERS_TO", "SETTLES", "DUPLICATE_OF", "DEPENDS_ON", "SUPERSEDES", "EMBEDS", "works_at", "owns", "manages", "part_of", "related_to", "depends_on", "references", "transacted_with", "member_of", "reports_to", "located_at", "created_by", "funded_by", "acquired_by", "subsidiary_of", "partner_of", "competitor_of", "supplies_to", "contracted_with", "invested_in"]>;
export declare const CreateRelationshipRequestSchema: z.ZodObject<{
    relationship_type: z.ZodEnum<["PART_OF", "CORRECTS", "REFERS_TO", "SETTLES", "DUPLICATE_OF", "DEPENDS_ON", "SUPERSEDES", "EMBEDS", "works_at", "owns", "manages", "part_of", "related_to", "depends_on", "references", "transacted_with", "member_of", "reports_to", "located_at", "created_by", "funded_by", "acquired_by", "subsidiary_of", "partner_of", "competitor_of", "supplies_to", "contracted_with", "invested_in"]>;
    source_entity_id: z.ZodString;
    target_entity_id: z.ZodString;
    source_id: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    source_entity_id: string;
    target_entity_id: string;
    relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
    user_id?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
    source_id?: string | undefined;
}, {
    source_entity_id: string;
    target_entity_id: string;
    relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
    user_id?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
    source_id?: string | undefined;
}>;
export declare const CreateRelationshipsRequestSchema: z.ZodObject<{
    relationships: z.ZodArray<z.ZodObject<{
        source_entity_id: z.ZodString;
        target_entity_id: z.ZodString;
        relationship_type: z.ZodEnum<["PART_OF", "CORRECTS", "REFERS_TO", "SETTLES", "DUPLICATE_OF", "DEPENDS_ON", "SUPERSEDES", "EMBEDS", "works_at", "owns", "manages", "part_of", "related_to", "depends_on", "references", "transacted_with", "member_of", "reports_to", "located_at", "created_by", "funded_by", "acquired_by", "subsidiary_of", "partner_of", "competitor_of", "supplies_to", "contracted_with", "invested_in"]>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    } & {
        source_id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        source_entity_id: string;
        target_entity_id: string;
        relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
        metadata?: Record<string, unknown> | undefined;
        source_id?: string | undefined;
    }, {
        source_entity_id: string;
        target_entity_id: string;
        relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
        metadata?: Record<string, unknown> | undefined;
        source_id?: string | undefined;
    }>, "many">;
    source_id: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    relationships: {
        source_entity_id: string;
        target_entity_id: string;
        relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
        metadata?: Record<string, unknown> | undefined;
        source_id?: string | undefined;
    }[];
    user_id?: string | undefined;
    source_id?: string | undefined;
}, {
    relationships: {
        source_entity_id: string;
        target_entity_id: string;
        relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
        metadata?: Record<string, unknown> | undefined;
        source_id?: string | undefined;
    }[];
    user_id?: string | undefined;
    source_id?: string | undefined;
}>;
export declare const StoreRelationshipInputSchema: z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
    relationship_type: z.ZodString;
    source_index: z.ZodOptional<z.ZodNumber>;
    source_entity_id: z.ZodOptional<z.ZodString>;
    target_index: z.ZodOptional<z.ZodNumber>;
    target_entity_id: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    relationship_type: string;
    source_entity_id?: string | undefined;
    target_entity_id?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
    source_index?: number | undefined;
    target_index?: number | undefined;
}, {
    relationship_type: string;
    source_entity_id?: string | undefined;
    target_entity_id?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
    source_index?: number | undefined;
    target_index?: number | undefined;
}>, z.ZodUnion<[z.ZodObject<{
    source_index: z.ZodNumber;
    source_entity_id: z.ZodOptional<z.ZodNever>;
}, "strip", z.ZodTypeAny, {
    source_index: number;
    source_entity_id?: undefined;
}, {
    source_index: number;
    source_entity_id?: undefined;
}>, z.ZodObject<{
    source_entity_id: z.ZodString;
    source_index: z.ZodOptional<z.ZodNever>;
}, "strip", z.ZodTypeAny, {
    source_entity_id: string;
    source_index?: undefined;
}, {
    source_entity_id: string;
    source_index?: undefined;
}>]>>, z.ZodUnion<[z.ZodObject<{
    target_index: z.ZodNumber;
    target_entity_id: z.ZodOptional<z.ZodNever>;
}, "strip", z.ZodTypeAny, {
    target_index: number;
    target_entity_id?: undefined;
}, {
    target_index: number;
    target_entity_id?: undefined;
}>, z.ZodObject<{
    target_entity_id: z.ZodString;
    target_index: z.ZodOptional<z.ZodNever>;
}, "strip", z.ZodTypeAny, {
    target_entity_id: string;
    target_index?: undefined;
}, {
    target_entity_id: string;
    target_index?: undefined;
}>]>>, ({
    relationship_type: string;
    source_entity_id?: string | undefined;
    target_entity_id?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
    source_index?: number | undefined;
    target_index?: number | undefined;
} & ({
    source_index: number;
    source_entity_id?: undefined;
} | {
    source_entity_id: string;
    source_index?: undefined;
})) & ({
    target_index: number;
    target_entity_id?: undefined;
} | {
    target_entity_id: string;
    target_index?: undefined;
}), ({
    relationship_type: string;
    source_entity_id?: string | undefined;
    target_entity_id?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
    source_index?: number | undefined;
    target_index?: number | undefined;
} & ({
    source_index: number;
    source_entity_id?: undefined;
} | {
    source_entity_id: string;
    source_index?: undefined;
})) & ({
    target_index: number;
    target_entity_id?: undefined;
} | {
    target_entity_id: string;
    target_index?: undefined;
})>;
export declare const ListRelationshipsRequestSchema: z.ZodEffects<z.ZodObject<{
    entity_id: z.ZodOptional<z.ZodString>;
    source_entity_id: z.ZodOptional<z.ZodString>;
    target_entity_id: z.ZodOptional<z.ZodString>;
    direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["inbound", "outbound", "incoming", "outgoing", "both"]>>>;
    relationship_type: z.ZodOptional<z.ZodEnum<["PART_OF", "CORRECTS", "REFERS_TO", "SETTLES", "DUPLICATE_OF", "DEPENDS_ON", "SUPERSEDES", "EMBEDS", "works_at", "owns", "manages", "part_of", "related_to", "depends_on", "references", "transacted_with", "member_of", "reports_to", "located_at", "created_by", "funded_by", "acquired_by", "subsidiary_of", "partner_of", "competitor_of", "supplies_to", "contracted_with", "invested_in"]>>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    offset: number;
    direction: "both" | "inbound" | "outbound" | "incoming" | "outgoing";
    user_id?: string | undefined;
    entity_id?: string | undefined;
    source_entity_id?: string | undefined;
    target_entity_id?: string | undefined;
    relationship_type?: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in" | undefined;
}, {
    user_id?: string | undefined;
    entity_id?: string | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    source_entity_id?: string | undefined;
    target_entity_id?: string | undefined;
    relationship_type?: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in" | undefined;
    direction?: "both" | "inbound" | "outbound" | "incoming" | "outgoing" | undefined;
}>, {
    limit: number;
    offset: number;
    direction: "both" | "inbound" | "outbound" | "incoming" | "outgoing";
    user_id?: string | undefined;
    entity_id?: string | undefined;
    source_entity_id?: string | undefined;
    target_entity_id?: string | undefined;
    relationship_type?: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in" | undefined;
}, {
    user_id?: string | undefined;
    entity_id?: string | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    source_entity_id?: string | undefined;
    target_entity_id?: string | undefined;
    relationship_type?: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in" | undefined;
    direction?: "both" | "inbound" | "outbound" | "incoming" | "outgoing" | undefined;
}>;
export declare const TimelineEventsRequestSchema: z.ZodObject<{
    event_type: z.ZodOptional<z.ZodString>;
    after_date: z.ZodOptional<z.ZodString>;
    before_date: z.ZodOptional<z.ZodString>;
    source_id: z.ZodOptional<z.ZodString>;
    order_by: z.ZodDefault<z.ZodOptional<z.ZodEnum<["event_timestamp", "created_at"]>>>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    offset: number;
    order_by: "created_at" | "event_timestamp";
    event_type?: string | undefined;
    source_id?: string | undefined;
    after_date?: string | undefined;
    before_date?: string | undefined;
}, {
    limit?: number | undefined;
    offset?: number | undefined;
    event_type?: string | undefined;
    source_id?: string | undefined;
    after_date?: string | undefined;
    before_date?: string | undefined;
    order_by?: "created_at" | "event_timestamp" | undefined;
}>;
export declare const EntitiesQueryRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
    entity_type: z.ZodOptional<z.ZodString>;
    search: z.ZodOptional<z.ZodString>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    sort_by: z.ZodDefault<z.ZodOptional<z.ZodEnum<["entity_id", "canonical_name", "observation_count", "last_observation_at", "submitted_at"]>>>;
    sort_order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
    published: z.ZodOptional<z.ZodBoolean>;
    published_after: z.ZodOptional<z.ZodString>;
    published_before: z.ZodOptional<z.ZodString>;
    include_snapshots: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    include_merged: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    user_id: z.ZodOptional<z.ZodString>;
    updated_since: z.ZodOptional<z.ZodString>;
    created_since: z.ZodOptional<z.ZodString>;
    /**
     * When true, omit `conversation`, `conversation_message`, and other chat
     * bookkeeping types from results. Default false: bookkeeping entities are
     * included unless the caller explicitly opts in to exclusion. The Inspector
     * header search and `/search` UI pass `true` explicitly.
     * Has no effect when `entity_type` already filters to a single bookkeeping
     * type (the explicit type filter wins).
     */
    exclude_bookkeeping: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    /**
     * R3: filter entities whose observations were resolved with the given
     * `identity_basis`. Satisfied when ANY observation for the entity carries
     * this basis. Enables the Inspector "Ambiguous/heuristic" filter without
     * joining observations client-side. See
     * `src/services/entity_resolution.ts#IdentityBasis`.
     */
    identity_basis: z.ZodOptional<z.ZodEnum<["schema_rule", "schema_lookup", "heuristic_name", "heuristic_fallback", "target_id"]>>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    offset: number;
    include_snapshots: boolean;
    include_merged: boolean;
    sort_by: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at";
    sort_order: "asc" | "desc";
    exclude_bookkeeping: boolean;
    search?: string | undefined;
    user_id?: string | undefined;
    identity_basis?: "schema_rule" | "schema_lookup" | "heuristic_name" | "heuristic_fallback" | "target_id" | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    published_before?: string | undefined;
}, {
    search?: string | undefined;
    user_id?: string | undefined;
    identity_basis?: "schema_rule" | "schema_lookup" | "heuristic_name" | "heuristic_fallback" | "target_id" | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    include_snapshots?: boolean | undefined;
    include_merged?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    sort_by?: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at" | undefined;
    sort_order?: "asc" | "desc" | undefined;
    published_before?: string | undefined;
    exclude_bookkeeping?: boolean | undefined;
}>, {
    limit: number;
    offset: number;
    include_snapshots: boolean;
    include_merged: boolean;
    sort_by: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at";
    sort_order: "asc" | "desc";
    exclude_bookkeeping: boolean;
    search?: string | undefined;
    user_id?: string | undefined;
    identity_basis?: "schema_rule" | "schema_lookup" | "heuristic_name" | "heuristic_fallback" | "target_id" | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    published_before?: string | undefined;
}, {
    search?: string | undefined;
    user_id?: string | undefined;
    identity_basis?: "schema_rule" | "schema_lookup" | "heuristic_name" | "heuristic_fallback" | "target_id" | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    include_snapshots?: boolean | undefined;
    include_merged?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    sort_by?: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at" | undefined;
    sort_order?: "asc" | "desc" | undefined;
    published_before?: string | undefined;
    exclude_bookkeeping?: boolean | undefined;
}>, {
    limit: number;
    offset: number;
    include_snapshots: boolean;
    include_merged: boolean;
    sort_by: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at";
    sort_order: "asc" | "desc";
    exclude_bookkeeping: boolean;
    search?: string | undefined;
    user_id?: string | undefined;
    identity_basis?: "schema_rule" | "schema_lookup" | "heuristic_name" | "heuristic_fallback" | "target_id" | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    published_before?: string | undefined;
}, unknown>;
export declare const RetrieveEntitiesRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
    user_id: z.ZodOptional<z.ZodString>;
    entity_type: z.ZodOptional<z.ZodString>;
    search: z.ZodOptional<z.ZodString>;
    /**
     * Distance threshold for semantic search (L2, range ~0.9–1.5 in practice).
     * Results with distance >= threshold are dropped. Lower = stricter matching.
     * Typical values: 1.0 (very strict), 1.02 (moderate), 1.05 (loose).
     * Only applied when search is provided.
     */
    similarity_threshold: z.ZodOptional<z.ZodNumber>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    sort_by: z.ZodDefault<z.ZodOptional<z.ZodEnum<["entity_id", "canonical_name", "observation_count", "last_observation_at", "submitted_at"]>>>;
    sort_order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
    published: z.ZodOptional<z.ZodBoolean>;
    published_after: z.ZodOptional<z.ZodString>;
    published_before: z.ZodOptional<z.ZodString>;
    include_snapshots: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    include_merged: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    updated_since: z.ZodOptional<z.ZodString>;
    created_since: z.ZodOptional<z.ZodString>;
    /**
     * When true, omit `conversation`, `conversation_message`, and other chat
     * bookkeeping types from results. Default false: bookkeeping entities are
     * included unless the caller explicitly opts in to exclusion. The Inspector
     * header search and `/search` UI pass `true` explicitly.
     * Has no effect when `entity_type` already filters to a single bookkeeping
     * type (the explicit type filter wins).
     */
    exclude_bookkeeping: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    offset: number;
    include_snapshots: boolean;
    include_merged: boolean;
    sort_by: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at";
    sort_order: "asc" | "desc";
    exclude_bookkeeping: boolean;
    search?: string | undefined;
    user_id?: string | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    published_before?: string | undefined;
    similarity_threshold?: number | undefined;
}, {
    search?: string | undefined;
    user_id?: string | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    include_snapshots?: boolean | undefined;
    include_merged?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    sort_by?: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at" | undefined;
    sort_order?: "asc" | "desc" | undefined;
    published_before?: string | undefined;
    exclude_bookkeeping?: boolean | undefined;
    similarity_threshold?: number | undefined;
}>, {
    limit: number;
    offset: number;
    include_snapshots: boolean;
    include_merged: boolean;
    sort_by: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at";
    sort_order: "asc" | "desc";
    exclude_bookkeeping: boolean;
    search?: string | undefined;
    user_id?: string | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    published_before?: string | undefined;
    similarity_threshold?: number | undefined;
}, {
    search?: string | undefined;
    user_id?: string | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    include_snapshots?: boolean | undefined;
    include_merged?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    sort_by?: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at" | undefined;
    sort_order?: "asc" | "desc" | undefined;
    published_before?: string | undefined;
    exclude_bookkeeping?: boolean | undefined;
    similarity_threshold?: number | undefined;
}>, {
    limit: number;
    offset: number;
    include_snapshots: boolean;
    include_merged: boolean;
    sort_by: "entity_id" | "canonical_name" | "observation_count" | "last_observation_at" | "submitted_at";
    sort_order: "asc" | "desc";
    exclude_bookkeeping: boolean;
    search?: string | undefined;
    user_id?: string | undefined;
    entity_type?: string | undefined;
    published?: boolean | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
    published_after?: string | undefined;
    published_before?: string | undefined;
    similarity_threshold?: number | undefined;
}, unknown>;
export declare const ObservationsQueryRequestSchema: z.ZodObject<{
    observation_id: z.ZodOptional<z.ZodString>;
    entity_id: z.ZodOptional<z.ZodString>;
    entity_type: z.ZodOptional<z.ZodString>;
    source_id: z.ZodOptional<z.ZodString>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    user_id: z.ZodOptional<z.ZodString>;
    updated_since: z.ZodOptional<z.ZodString>;
    created_since: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    offset: number;
    user_id?: string | undefined;
    entity_id?: string | undefined;
    entity_type?: string | undefined;
    source_id?: string | undefined;
    observation_id?: string | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
}, {
    user_id?: string | undefined;
    entity_id?: string | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    entity_type?: string | undefined;
    source_id?: string | undefined;
    observation_id?: string | undefined;
    updated_since?: string | undefined;
    created_since?: string | undefined;
}>;
/**
 * Classification of the *kind* of write being performed, orthogonal to
 * numeric `source_priority`. See `Observation.observation_source` in
 * openapi.yaml for the full semantic contract. Default (`llm_summary`)
 * is applied by the write path, not at parse time, so MCP callers that
 * omit the field remain LLM-driven by construction without breaking
 * idempotency hashes or contract-test fixtures.
 */
export declare const OBSERVATION_SOURCE_VALUES: readonly ["sensor", "llm_summary", "workflow_state", "human", "import", "sync"];
export declare const ObservationSourceSchema: z.ZodEnum<["sensor", "llm_summary", "workflow_state", "human", "import", "sync"]>;
export type ObservationSource = z.infer<typeof ObservationSourceSchema>;
export declare const StoreInterpretationInputSchema: z.ZodEffects<z.ZodObject<{
    source_id: z.ZodOptional<z.ZodString>;
    source_ref: z.ZodOptional<z.ZodEnum<["structured", "unstructured"]>>;
    interpretation_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    source_id?: string | undefined;
    interpretation_config?: Record<string, unknown> | undefined;
    source_ref?: "structured" | "unstructured" | undefined;
}, {
    source_id?: string | undefined;
    interpretation_config?: Record<string, unknown> | undefined;
    source_ref?: "structured" | "unstructured" | undefined;
}>, {
    source_id?: string | undefined;
    interpretation_config?: Record<string, unknown> | undefined;
    source_ref?: "structured" | "unstructured" | undefined;
}, {
    source_id?: string | undefined;
    interpretation_config?: Record<string, unknown> | undefined;
    source_ref?: "structured" | "unstructured" | undefined;
}>;
export type StoreInterpretationInput = z.infer<typeof StoreInterpretationInputSchema>;
export declare const CreateInterpretationRequestSchema: z.ZodObject<{
    source_id: z.ZodString;
    entities: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
    interpretation_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    relationships: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
        relationship_type: z.ZodString;
        source_index: z.ZodOptional<z.ZodNumber>;
        source_entity_id: z.ZodOptional<z.ZodString>;
        target_index: z.ZodOptional<z.ZodNumber>;
        target_entity_id: z.ZodOptional<z.ZodString>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    }, {
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    }>, z.ZodUnion<[z.ZodObject<{
        source_index: z.ZodNumber;
        source_entity_id: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        source_index: number;
        source_entity_id?: undefined;
    }, {
        source_index: number;
        source_entity_id?: undefined;
    }>, z.ZodObject<{
        source_entity_id: z.ZodString;
        source_index: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        source_entity_id: string;
        source_index?: undefined;
    }, {
        source_entity_id: string;
        source_index?: undefined;
    }>]>>, z.ZodUnion<[z.ZodObject<{
        target_index: z.ZodNumber;
        target_entity_id: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        target_index: number;
        target_entity_id?: undefined;
    }, {
        target_index: number;
        target_entity_id?: undefined;
    }>, z.ZodObject<{
        target_entity_id: z.ZodString;
        target_index: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        target_entity_id: string;
        target_index?: undefined;
    }, {
        target_entity_id: string;
        target_index?: undefined;
    }>]>>, ({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }), ({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    })>, "many">>;
    idempotency_key: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    entities: Record<string, unknown>[];
    source_id: string;
    relationships?: (({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }))[] | undefined;
    idempotency_key?: string | undefined;
    user_id?: string | undefined;
    interpretation_config?: Record<string, unknown> | undefined;
}, {
    entities: Record<string, unknown>[];
    source_id: string;
    relationships?: (({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }))[] | undefined;
    idempotency_key?: string | undefined;
    user_id?: string | undefined;
    interpretation_config?: Record<string, unknown> | undefined;
}>;
export declare const StoreStructuredRequestSchema: z.ZodObject<{
    entities: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
    relationships: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
        relationship_type: z.ZodString;
        source_index: z.ZodOptional<z.ZodNumber>;
        source_entity_id: z.ZodOptional<z.ZodString>;
        target_index: z.ZodOptional<z.ZodNumber>;
        target_entity_id: z.ZodOptional<z.ZodString>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    }, {
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    }>, z.ZodUnion<[z.ZodObject<{
        source_index: z.ZodNumber;
        source_entity_id: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        source_index: number;
        source_entity_id?: undefined;
    }, {
        source_index: number;
        source_entity_id?: undefined;
    }>, z.ZodObject<{
        source_entity_id: z.ZodString;
        source_index: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        source_entity_id: string;
        source_index?: undefined;
    }, {
        source_entity_id: string;
        source_index?: undefined;
    }>]>>, z.ZodUnion<[z.ZodObject<{
        target_index: z.ZodNumber;
        target_entity_id: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        target_index: number;
        target_entity_id?: undefined;
    }, {
        target_index: number;
        target_entity_id?: undefined;
    }>, z.ZodObject<{
        target_entity_id: z.ZodString;
        target_index: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        target_entity_id: string;
        target_index?: undefined;
    }, {
        target_entity_id: string;
        target_index?: undefined;
    }>]>>, ({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }), ({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    })>, "many">>;
    interpretation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
        source_id: z.ZodOptional<z.ZodString>;
        source_ref: z.ZodOptional<z.ZodEnum<["structured", "unstructured"]>>;
        interpretation_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    }, {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    }>, {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    }, {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    }>>;
    source_priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    observation_source: z.ZodOptional<z.ZodEnum<["sensor", "llm_summary", "workflow_state", "human", "import", "sync"]>>;
    /** Cross-instance sync: stamp observations with this peer id (Phase 5). */
    source_peer_id: z.ZodOptional<z.ZodString>;
    idempotency_key: z.ZodString;
    user_id: z.ZodOptional<z.ZodString>;
    original_filename: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    idempotency_key: string;
    entities: Record<string, unknown>[];
    source_priority: number;
    relationships?: (({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }))[] | undefined;
    original_filename?: string | undefined;
    user_id?: string | undefined;
    observation_source?: "sensor" | "llm_summary" | "workflow_state" | "human" | "import" | "sync" | undefined;
    source_peer_id?: string | undefined;
    interpretation?: {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    } | undefined;
}, {
    idempotency_key: string;
    entities: Record<string, unknown>[];
    relationships?: (({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }))[] | undefined;
    original_filename?: string | undefined;
    user_id?: string | undefined;
    observation_source?: "sensor" | "llm_summary" | "workflow_state" | "human" | "import" | "sync" | undefined;
    source_peer_id?: string | undefined;
    source_priority?: number | undefined;
    interpretation?: {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    } | undefined;
}>;
/** REST store/unstructured: file_content (base64) + mime_type, raw storage only. */
export declare const StoreUnstructuredRequestSchema: z.ZodObject<{
    file_content: z.ZodString;
    mime_type: z.ZodString;
    idempotency_key: z.ZodOptional<z.ZodString>;
    original_filename: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    mime_type: string;
    file_content: string;
    original_filename?: string | undefined;
    idempotency_key?: string | undefined;
    user_id?: string | undefined;
}, {
    mime_type: string;
    file_content: string;
    original_filename?: string | undefined;
    idempotency_key?: string | undefined;
    user_id?: string | undefined;
}>;
export declare const ExternalActorInputSchema: z.ZodObject<{
    provider: z.ZodLiteral<"github">;
    login: z.ZodString;
    id: z.ZodNumber;
    type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["User", "Bot", "Organization"]>>>;
    verified_via: z.ZodDefault<z.ZodOptional<z.ZodEnum<["claim", "linked_attestation", "oauth_link", "webhook_signature"]>>>;
    delivery_id: z.ZodOptional<z.ZodString>;
    event_type: z.ZodOptional<z.ZodString>;
    repository: z.ZodOptional<z.ZodString>;
    event_id: z.ZodOptional<z.ZodNumber>;
    comment_id: z.ZodOptional<z.ZodNumber>;
}, "strict", z.ZodTypeAny, {
    id: number;
    provider: "github";
    type: "User" | "Bot" | "Organization";
    login: string;
    verified_via: "claim" | "linked_attestation" | "oauth_link" | "webhook_signature";
    event_type?: string | undefined;
    comment_id?: number | undefined;
    event_id?: number | undefined;
    delivery_id?: string | undefined;
    repository?: string | undefined;
}, {
    id: number;
    provider: "github";
    login: string;
    event_type?: string | undefined;
    type?: "User" | "Bot" | "Organization" | undefined;
    comment_id?: number | undefined;
    verified_via?: "claim" | "linked_attestation" | "oauth_link" | "webhook_signature" | undefined;
    event_id?: number | undefined;
    delivery_id?: string | undefined;
    repository?: string | undefined;
}>;
export declare const StoreRequestSchema: z.ZodEffects<z.ZodObject<{
    user_id: z.ZodOptional<z.ZodString>;
    entities: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
    relationships: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
        relationship_type: z.ZodString;
        source_index: z.ZodOptional<z.ZodNumber>;
        source_entity_id: z.ZodOptional<z.ZodString>;
        target_index: z.ZodOptional<z.ZodNumber>;
        target_entity_id: z.ZodOptional<z.ZodString>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    }, {
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    }>, z.ZodUnion<[z.ZodObject<{
        source_index: z.ZodNumber;
        source_entity_id: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        source_index: number;
        source_entity_id?: undefined;
    }, {
        source_index: number;
        source_entity_id?: undefined;
    }>, z.ZodObject<{
        source_entity_id: z.ZodString;
        source_index: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        source_entity_id: string;
        source_index?: undefined;
    }, {
        source_entity_id: string;
        source_index?: undefined;
    }>]>>, z.ZodUnion<[z.ZodObject<{
        target_index: z.ZodNumber;
        target_entity_id: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        target_index: number;
        target_entity_id?: undefined;
    }, {
        target_index: number;
        target_entity_id?: undefined;
    }>, z.ZodObject<{
        target_entity_id: z.ZodString;
        target_index: z.ZodOptional<z.ZodNever>;
    }, "strip", z.ZodTypeAny, {
        target_entity_id: string;
        target_index?: undefined;
    }, {
        target_entity_id: string;
        target_index?: undefined;
    }>]>>, ({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }), ({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    })>, "many">>;
    interpretation: z.ZodOptional<z.ZodEffects<z.ZodObject<{
        source_id: z.ZodOptional<z.ZodString>;
        source_ref: z.ZodOptional<z.ZodEnum<["structured", "unstructured"]>>;
        interpretation_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strip", z.ZodTypeAny, {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    }, {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    }>, {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    }, {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    }>>;
    source_priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    observation_source: z.ZodOptional<z.ZodEnum<["sensor", "llm_summary", "workflow_state", "human", "import", "sync"]>>;
    source_peer_id: z.ZodOptional<z.ZodString>;
    external_actor: z.ZodOptional<z.ZodObject<{
        provider: z.ZodLiteral<"github">;
        login: z.ZodString;
        id: z.ZodNumber;
        type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["User", "Bot", "Organization"]>>>;
        verified_via: z.ZodDefault<z.ZodOptional<z.ZodEnum<["claim", "linked_attestation", "oauth_link", "webhook_signature"]>>>;
        delivery_id: z.ZodOptional<z.ZodString>;
        event_type: z.ZodOptional<z.ZodString>;
        repository: z.ZodOptional<z.ZodString>;
        event_id: z.ZodOptional<z.ZodNumber>;
        comment_id: z.ZodOptional<z.ZodNumber>;
    }, "strict", z.ZodTypeAny, {
        id: number;
        provider: "github";
        type: "User" | "Bot" | "Organization";
        login: string;
        verified_via: "claim" | "linked_attestation" | "oauth_link" | "webhook_signature";
        event_type?: string | undefined;
        comment_id?: number | undefined;
        event_id?: number | undefined;
        delivery_id?: string | undefined;
        repository?: string | undefined;
    }, {
        id: number;
        provider: "github";
        login: string;
        event_type?: string | undefined;
        type?: "User" | "Bot" | "Organization" | undefined;
        comment_id?: number | undefined;
        verified_via?: "claim" | "linked_attestation" | "oauth_link" | "webhook_signature" | undefined;
        event_id?: number | undefined;
        delivery_id?: string | undefined;
        repository?: string | undefined;
    }>>;
    idempotency_key: z.ZodOptional<z.ZodString>;
    file_idempotency_key: z.ZodOptional<z.ZodString>;
    file_content: z.ZodOptional<z.ZodString>;
    file_path: z.ZodOptional<z.ZodString>;
    mime_type: z.ZodOptional<z.ZodString>;
    original_filename: z.ZodOptional<z.ZodString>;
    /** Plan/dry-run: resolve and report action per observation, skip inserts. */
    commit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    /** Refuse merges that resolve to an existing entity without a deterministic rule. */
    strict: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    source_priority: number;
    strict: boolean;
    commit: boolean;
    relationships?: (({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }))[] | undefined;
    original_filename?: string | undefined;
    mime_type?: string | undefined;
    idempotency_key?: string | undefined;
    user_id?: string | undefined;
    observation_source?: "sensor" | "llm_summary" | "workflow_state" | "human" | "import" | "sync" | undefined;
    source_peer_id?: string | undefined;
    entities?: Record<string, unknown>[] | undefined;
    file_path?: string | undefined;
    external_actor?: {
        id: number;
        provider: "github";
        type: "User" | "Bot" | "Organization";
        login: string;
        verified_via: "claim" | "linked_attestation" | "oauth_link" | "webhook_signature";
        event_type?: string | undefined;
        comment_id?: number | undefined;
        event_id?: number | undefined;
        delivery_id?: string | undefined;
        repository?: string | undefined;
    } | undefined;
    interpretation?: {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    } | undefined;
    file_content?: string | undefined;
    file_idempotency_key?: string | undefined;
}, {
    relationships?: (({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }))[] | undefined;
    original_filename?: string | undefined;
    mime_type?: string | undefined;
    idempotency_key?: string | undefined;
    user_id?: string | undefined;
    observation_source?: "sensor" | "llm_summary" | "workflow_state" | "human" | "import" | "sync" | undefined;
    source_peer_id?: string | undefined;
    entities?: Record<string, unknown>[] | undefined;
    source_priority?: number | undefined;
    file_path?: string | undefined;
    external_actor?: {
        id: number;
        provider: "github";
        login: string;
        event_type?: string | undefined;
        type?: "User" | "Bot" | "Organization" | undefined;
        comment_id?: number | undefined;
        verified_via?: "claim" | "linked_attestation" | "oauth_link" | "webhook_signature" | undefined;
        event_id?: number | undefined;
        delivery_id?: string | undefined;
        repository?: string | undefined;
    } | undefined;
    strict?: boolean | undefined;
    commit?: boolean | undefined;
    interpretation?: {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    } | undefined;
    file_content?: string | undefined;
    file_idempotency_key?: string | undefined;
}>, {
    source_priority: number;
    strict: boolean;
    commit: boolean;
    relationships?: (({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }))[] | undefined;
    original_filename?: string | undefined;
    mime_type?: string | undefined;
    idempotency_key?: string | undefined;
    user_id?: string | undefined;
    observation_source?: "sensor" | "llm_summary" | "workflow_state" | "human" | "import" | "sync" | undefined;
    source_peer_id?: string | undefined;
    entities?: Record<string, unknown>[] | undefined;
    file_path?: string | undefined;
    external_actor?: {
        id: number;
        provider: "github";
        type: "User" | "Bot" | "Organization";
        login: string;
        verified_via: "claim" | "linked_attestation" | "oauth_link" | "webhook_signature";
        event_type?: string | undefined;
        comment_id?: number | undefined;
        event_id?: number | undefined;
        delivery_id?: string | undefined;
        repository?: string | undefined;
    } | undefined;
    interpretation?: {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    } | undefined;
    file_content?: string | undefined;
    file_idempotency_key?: string | undefined;
}, {
    relationships?: (({
        relationship_type: string;
        source_entity_id?: string | undefined;
        target_entity_id?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        source_index?: number | undefined;
        target_index?: number | undefined;
    } & ({
        source_index: number;
        source_entity_id?: undefined;
    } | {
        source_entity_id: string;
        source_index?: undefined;
    })) & ({
        target_index: number;
        target_entity_id?: undefined;
    } | {
        target_entity_id: string;
        target_index?: undefined;
    }))[] | undefined;
    original_filename?: string | undefined;
    mime_type?: string | undefined;
    idempotency_key?: string | undefined;
    user_id?: string | undefined;
    observation_source?: "sensor" | "llm_summary" | "workflow_state" | "human" | "import" | "sync" | undefined;
    source_peer_id?: string | undefined;
    entities?: Record<string, unknown>[] | undefined;
    source_priority?: number | undefined;
    file_path?: string | undefined;
    external_actor?: {
        id: number;
        provider: "github";
        login: string;
        event_type?: string | undefined;
        type?: "User" | "Bot" | "Organization" | undefined;
        comment_id?: number | undefined;
        verified_via?: "claim" | "linked_attestation" | "oauth_link" | "webhook_signature" | undefined;
        event_id?: number | undefined;
        delivery_id?: string | undefined;
        repository?: string | undefined;
    } | undefined;
    strict?: boolean | undefined;
    commit?: boolean | undefined;
    interpretation?: {
        source_id?: string | undefined;
        interpretation_config?: Record<string, unknown> | undefined;
        source_ref?: "structured" | "unstructured" | undefined;
    } | undefined;
    file_content?: string | undefined;
    file_idempotency_key?: string | undefined;
}>;
export declare const MergeEntitiesRequestSchema: z.ZodObject<{
    from_entity_id: z.ZodString;
    to_entity_id: z.ZodString;
    merge_reason: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    from_entity_id: string;
    to_entity_id: string;
    user_id?: string | undefined;
    merge_reason?: string | undefined;
}, {
    from_entity_id: string;
    to_entity_id: string;
    user_id?: string | undefined;
    merge_reason?: string | undefined;
}>;
/**
 * R5: declarative predicate for `split_entity`. Schema-agnostic — every
 * form reads a column every observation row carries (entity_id,
 * observed_at, source_id, fields blob). See
 * `src/services/entity_split.ts#SplitPredicate`.
 */
export declare const SplitPredicateSchema: z.ZodEffects<z.ZodObject<{
    observed_at_gte: z.ZodOptional<z.ZodString>;
    source_id_in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    observation_field_equals: z.ZodOptional<z.ZodEffects<z.ZodObject<{
        field: z.ZodString;
        value: z.ZodOptional<z.ZodString>;
        value_starts_with: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        field: string;
        value?: string | undefined;
        value_starts_with?: string | undefined;
    }, {
        field: string;
        value?: string | undefined;
        value_starts_with?: string | undefined;
    }>, {
        field: string;
        value?: string | undefined;
        value_starts_with?: string | undefined;
    }, {
        field: string;
        value?: string | undefined;
        value_starts_with?: string | undefined;
    }>>;
}, "strip", z.ZodTypeAny, {
    observed_at_gte?: string | undefined;
    source_id_in?: string[] | undefined;
    observation_field_equals?: {
        field: string;
        value?: string | undefined;
        value_starts_with?: string | undefined;
    } | undefined;
}, {
    observed_at_gte?: string | undefined;
    source_id_in?: string[] | undefined;
    observation_field_equals?: {
        field: string;
        value?: string | undefined;
        value_starts_with?: string | undefined;
    } | undefined;
}>, {
    observed_at_gte?: string | undefined;
    source_id_in?: string[] | undefined;
    observation_field_equals?: {
        field: string;
        value?: string | undefined;
        value_starts_with?: string | undefined;
    } | undefined;
}, {
    observed_at_gte?: string | undefined;
    source_id_in?: string[] | undefined;
    observation_field_equals?: {
        field: string;
        value?: string | undefined;
        value_starts_with?: string | undefined;
    } | undefined;
}>;
export declare const SplitEntityRequestSchema: z.ZodObject<{
    source_entity_id: z.ZodString;
    predicate: z.ZodEffects<z.ZodObject<{
        observed_at_gte: z.ZodOptional<z.ZodString>;
        source_id_in: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        observation_field_equals: z.ZodOptional<z.ZodEffects<z.ZodObject<{
            field: z.ZodString;
            value: z.ZodOptional<z.ZodString>;
            value_starts_with: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        }, {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        }>, {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        }, {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        observed_at_gte?: string | undefined;
        source_id_in?: string[] | undefined;
        observation_field_equals?: {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        } | undefined;
    }, {
        observed_at_gte?: string | undefined;
        source_id_in?: string[] | undefined;
        observation_field_equals?: {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        } | undefined;
    }>, {
        observed_at_gte?: string | undefined;
        source_id_in?: string[] | undefined;
        observation_field_equals?: {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        } | undefined;
    }, {
        observed_at_gte?: string | undefined;
        source_id_in?: string[] | undefined;
        observation_field_equals?: {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        } | undefined;
    }>;
    new_entity: z.ZodObject<{
        entity_type: z.ZodString;
        canonical_name: z.ZodString;
        target_entity_id: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        canonical_name: string;
        entity_type: string;
        target_entity_id?: string | undefined;
    }, {
        canonical_name: string;
        entity_type: string;
        target_entity_id?: string | undefined;
    }>;
    idempotency_key: z.ZodString;
    reason: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    idempotency_key: string;
    source_entity_id: string;
    predicate: {
        observed_at_gte?: string | undefined;
        source_id_in?: string[] | undefined;
        observation_field_equals?: {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        } | undefined;
    };
    new_entity: {
        canonical_name: string;
        entity_type: string;
        target_entity_id?: string | undefined;
    };
    user_id?: string | undefined;
    reason?: string | undefined;
}, {
    idempotency_key: string;
    source_entity_id: string;
    predicate: {
        observed_at_gte?: string | undefined;
        source_id_in?: string[] | undefined;
        observation_field_equals?: {
            field: string;
            value?: string | undefined;
            value_starts_with?: string | undefined;
        } | undefined;
    };
    new_entity: {
        canonical_name: string;
        entity_type: string;
        target_entity_id?: string | undefined;
    };
    user_id?: string | undefined;
    reason?: string | undefined;
}>;
export declare const DeleteEntityRequestSchema: z.ZodObject<{
    entity_id: z.ZodString;
    entity_type: z.ZodString;
    reason: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    entity_id: string;
    entity_type: string;
    user_id?: string | undefined;
    reason?: string | undefined;
}, {
    entity_id: string;
    entity_type: string;
    user_id?: string | undefined;
    reason?: string | undefined;
}>;
export declare const DeleteRelationshipRequestSchema: z.ZodObject<{
    relationship_type: z.ZodEnum<["PART_OF", "CORRECTS", "REFERS_TO", "SETTLES", "DUPLICATE_OF", "DEPENDS_ON", "SUPERSEDES", "EMBEDS", "works_at", "owns", "manages", "part_of", "related_to", "depends_on", "references", "transacted_with", "member_of", "reports_to", "located_at", "created_by", "funded_by", "acquired_by", "subsidiary_of", "partner_of", "competitor_of", "supplies_to", "contracted_with", "invested_in"]>;
    source_entity_id: z.ZodString;
    target_entity_id: z.ZodString;
    reason: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    source_entity_id: string;
    target_entity_id: string;
    relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
    user_id?: string | undefined;
    reason?: string | undefined;
}, {
    source_entity_id: string;
    target_entity_id: string;
    relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
    user_id?: string | undefined;
    reason?: string | undefined;
}>;
export declare const RestoreEntityRequestSchema: z.ZodObject<{
    entity_id: z.ZodString;
    entity_type: z.ZodString;
    reason: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    entity_id: string;
    entity_type: string;
    user_id?: string | undefined;
    reason?: string | undefined;
}, {
    entity_id: string;
    entity_type: string;
    user_id?: string | undefined;
    reason?: string | undefined;
}>;
export declare const RestoreRelationshipRequestSchema: z.ZodObject<{
    relationship_type: z.ZodEnum<["PART_OF", "CORRECTS", "REFERS_TO", "SETTLES", "DUPLICATE_OF", "DEPENDS_ON", "SUPERSEDES", "EMBEDS", "works_at", "owns", "manages", "part_of", "related_to", "depends_on", "references", "transacted_with", "member_of", "reports_to", "located_at", "created_by", "funded_by", "acquired_by", "subsidiary_of", "partner_of", "competitor_of", "supplies_to", "contracted_with", "invested_in"]>;
    source_entity_id: z.ZodString;
    target_entity_id: z.ZodString;
    reason: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    source_entity_id: string;
    target_entity_id: string;
    relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
    user_id?: string | undefined;
    reason?: string | undefined;
}, {
    source_entity_id: string;
    target_entity_id: string;
    relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
    user_id?: string | undefined;
    reason?: string | undefined;
}>;
export declare const CorrectEntityRequestSchema: z.ZodObject<{
    entity_id: z.ZodString;
    entity_type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    field: z.ZodString;
    value: z.ZodUnknown;
    idempotency_key: z.ZodString;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    idempotency_key: string;
    entity_id: string;
    entity_type: string;
    field: string;
    user_id?: string | undefined;
    value?: unknown;
}, {
    idempotency_key: string;
    entity_id: string;
    field: string;
    user_id?: string | undefined;
    entity_type?: string | undefined;
    value?: unknown;
}>;
export declare const ListEntityTypesRequestSchema: z.ZodObject<{
    keyword: z.ZodOptional<z.ZodString>;
    summary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    summary: boolean;
    keyword?: string | undefined;
}, {
    summary?: boolean | undefined;
    keyword?: string | undefined;
}>;
export declare const RetrieveEntityByIdentifierSchema: z.ZodObject<{
    identifier: z.ZodString;
    entity_type: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
    by: z.ZodOptional<z.ZodString>;
    limit: z.ZodOptional<z.ZodNumber>;
    include_observations: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    observations_limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
    include_observations: boolean;
    identifier: string;
    observations_limit: number;
    user_id?: string | undefined;
    limit?: number | undefined;
    entity_type?: string | undefined;
    by?: string | undefined;
}, {
    identifier: string;
    user_id?: string | undefined;
    limit?: number | undefined;
    entity_type?: string | undefined;
    include_observations?: boolean | undefined;
    by?: string | undefined;
    observations_limit?: number | undefined;
}>;
export declare const RetrieveRelatedEntitiesSchema: z.ZodObject<{
    entity_id: z.ZodString;
    relationship_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["PART_OF", "CORRECTS", "REFERS_TO", "SETTLES", "DUPLICATE_OF", "DEPENDS_ON", "SUPERSEDES", "EMBEDS", "works_at", "owns", "manages", "part_of", "related_to", "depends_on", "references", "transacted_with", "member_of", "reports_to", "located_at", "created_by", "funded_by", "acquired_by", "subsidiary_of", "partner_of", "competitor_of", "supplies_to", "contracted_with", "invested_in"]>, "many">>;
    direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["inbound", "outbound", "both"]>>>;
    max_hops: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    include_entities: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    entity_id: string;
    direction: "both" | "inbound" | "outbound";
    include_entities: boolean;
    max_hops: number;
    relationship_types?: ("PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in")[] | undefined;
}, {
    entity_id: string;
    direction?: "both" | "inbound" | "outbound" | undefined;
    include_entities?: boolean | undefined;
    max_hops?: number | undefined;
    relationship_types?: ("PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in")[] | undefined;
}>;
export declare const RetrieveGraphNeighborhoodSchema: z.ZodObject<{
    node_id: z.ZodString;
    node_type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["entity", "source"]>>>;
    include_relationships: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    include_sources: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    include_events: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    include_observations: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    offset: number;
    include_sources: boolean;
    include_events: boolean;
    include_observations: boolean;
    node_id: string;
    node_type: "source" | "entity";
    include_relationships: boolean;
    user_id?: string | undefined;
}, {
    node_id: string;
    user_id?: string | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    include_sources?: boolean | undefined;
    include_events?: boolean | undefined;
    include_observations?: boolean | undefined;
    node_type?: "source" | "entity" | undefined;
    include_relationships?: boolean | undefined;
}>;
export declare const RelationshipSnapshotRequestSchema: z.ZodObject<{
    relationship_type: z.ZodEnum<["PART_OF", "CORRECTS", "REFERS_TO", "SETTLES", "DUPLICATE_OF", "DEPENDS_ON", "SUPERSEDES", "EMBEDS", "works_at", "owns", "manages", "part_of", "related_to", "depends_on", "references", "transacted_with", "member_of", "reports_to", "located_at", "created_by", "funded_by", "acquired_by", "subsidiary_of", "partner_of", "competitor_of", "supplies_to", "contracted_with", "invested_in"]>;
    source_entity_id: z.ZodString;
    target_entity_id: z.ZodString;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    source_entity_id: string;
    target_entity_id: string;
    relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
    user_id?: string | undefined;
}, {
    source_entity_id: string;
    target_entity_id: string;
    relationship_type: "PART_OF" | "CORRECTS" | "REFERS_TO" | "SETTLES" | "DUPLICATE_OF" | "DEPENDS_ON" | "SUPERSEDES" | "EMBEDS" | "works_at" | "owns" | "manages" | "part_of" | "related_to" | "depends_on" | "references" | "transacted_with" | "member_of" | "reports_to" | "located_at" | "created_by" | "funded_by" | "acquired_by" | "subsidiary_of" | "partner_of" | "competitor_of" | "supplies_to" | "contracted_with" | "invested_in";
    user_id?: string | undefined;
}>;
export declare const AnalyzeSchemaCandidatesRequestSchema: z.ZodObject<{
    entity_type: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
    min_frequency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    min_confidence: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
    min_frequency: number;
    min_confidence: number;
    user_id?: string | undefined;
    entity_type?: string | undefined;
}, {
    user_id?: string | undefined;
    entity_type?: string | undefined;
    min_frequency?: number | undefined;
    min_confidence?: number | undefined;
}>;
export declare const GetSchemaRecommendationsRequestSchema: z.ZodObject<{
    entity_type: z.ZodString;
    user_id: z.ZodOptional<z.ZodString>;
    source: z.ZodOptional<z.ZodEnum<["raw_fragments", "agent", "inference", "all"]>>;
    status: z.ZodOptional<z.ZodEnum<["pending", "approved", "rejected"]>>;
}, "strip", z.ZodTypeAny, {
    entity_type: string;
    user_id?: string | undefined;
    status?: "pending" | "approved" | "rejected" | undefined;
    source?: "raw_fragments" | "all" | "agent" | "inference" | undefined;
}, {
    entity_type: string;
    user_id?: string | undefined;
    status?: "pending" | "approved" | "rejected" | undefined;
    source?: "raw_fragments" | "all" | "agent" | "inference" | undefined;
}>;
export declare const UpdateSchemaIncrementalRequestSchema: z.ZodEffects<z.ZodObject<{
    entity_type: z.ZodString;
    fields_to_add: z.ZodOptional<z.ZodArray<z.ZodObject<{
        field_name: z.ZodString;
        field_type: z.ZodEnum<["string", "number", "date", "boolean", "array", "object"]>;
        required: z.ZodDefault<z.ZodBoolean>;
        reducer_strategy: z.ZodOptional<z.ZodEnum<["last_write", "highest_priority", "most_specific", "merge_array"]>>;
    }, "strip", z.ZodTypeAny, {
        required: boolean;
        field_name: string;
        field_type: "string" | "number" | "boolean" | "object" | "date" | "array";
        reducer_strategy?: "last_write" | "highest_priority" | "most_specific" | "merge_array" | undefined;
    }, {
        field_name: string;
        field_type: "string" | "number" | "boolean" | "object" | "date" | "array";
        required?: boolean | undefined;
        reducer_strategy?: "last_write" | "highest_priority" | "most_specific" | "merge_array" | undefined;
    }>, "many">>;
    fields_to_remove: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    schema_version: z.ZodOptional<z.ZodString>;
    user_specific: z.ZodDefault<z.ZodBoolean>;
    user_id: z.ZodOptional<z.ZodString>;
    activate: z.ZodDefault<z.ZodBoolean>;
    migrate_existing: z.ZodDefault<z.ZodBoolean>;
    force: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    entity_type: string;
    force: boolean;
    user_specific: boolean;
    activate: boolean;
    migrate_existing: boolean;
    user_id?: string | undefined;
    schema_version?: string | undefined;
    fields_to_add?: {
        required: boolean;
        field_name: string;
        field_type: "string" | "number" | "boolean" | "object" | "date" | "array";
        reducer_strategy?: "last_write" | "highest_priority" | "most_specific" | "merge_array" | undefined;
    }[] | undefined;
    fields_to_remove?: string[] | undefined;
}, {
    entity_type: string;
    user_id?: string | undefined;
    schema_version?: string | undefined;
    force?: boolean | undefined;
    fields_to_add?: {
        field_name: string;
        field_type: "string" | "number" | "boolean" | "object" | "date" | "array";
        required?: boolean | undefined;
        reducer_strategy?: "last_write" | "highest_priority" | "most_specific" | "merge_array" | undefined;
    }[] | undefined;
    fields_to_remove?: string[] | undefined;
    user_specific?: boolean | undefined;
    activate?: boolean | undefined;
    migrate_existing?: boolean | undefined;
}>, {
    entity_type: string;
    force: boolean;
    user_specific: boolean;
    activate: boolean;
    migrate_existing: boolean;
    user_id?: string | undefined;
    schema_version?: string | undefined;
    fields_to_add?: {
        required: boolean;
        field_name: string;
        field_type: "string" | "number" | "boolean" | "object" | "date" | "array";
        reducer_strategy?: "last_write" | "highest_priority" | "most_specific" | "merge_array" | undefined;
    }[] | undefined;
    fields_to_remove?: string[] | undefined;
}, {
    entity_type: string;
    user_id?: string | undefined;
    schema_version?: string | undefined;
    force?: boolean | undefined;
    fields_to_add?: {
        field_name: string;
        field_type: "string" | "number" | "boolean" | "object" | "date" | "array";
        required?: boolean | undefined;
        reducer_strategy?: "last_write" | "highest_priority" | "most_specific" | "merge_array" | undefined;
    }[] | undefined;
    fields_to_remove?: string[] | undefined;
    user_specific?: boolean | undefined;
    activate?: boolean | undefined;
    migrate_existing?: boolean | undefined;
}>;
export declare const RegisterSchemaRequestSchema: z.ZodObject<{
    entity_type: z.ZodString;
    schema_definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    reducer_config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    schema_version: z.ZodDefault<z.ZodString>;
    user_specific: z.ZodDefault<z.ZodBoolean>;
    user_id: z.ZodOptional<z.ZodString>;
    activate: z.ZodDefault<z.ZodBoolean>;
    force: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    entity_type: string;
    schema_version: string;
    schema_definition: Record<string, unknown>;
    reducer_config: Record<string, unknown>;
    force: boolean;
    user_specific: boolean;
    activate: boolean;
    user_id?: string | undefined;
}, {
    entity_type: string;
    schema_definition: Record<string, unknown>;
    reducer_config: Record<string, unknown>;
    user_id?: string | undefined;
    schema_version?: string | undefined;
    force?: boolean | undefined;
    user_specific?: boolean | undefined;
    activate?: boolean | undefined;
}>;
/** Bulk inspector actions on `issue` entities (close on GitHub when linked, then persist / delete). */
export declare const IssuesBulkEntityIdsRequestSchema: z.ZodObject<{
    entity_ids: z.ZodArray<z.ZodString, "many">;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    entity_ids: string[];
    user_id?: string | undefined;
}, {
    entity_ids: string[];
    user_id?: string | undefined;
}>;
/** Append a message to an issue thread (Inspector + HTTP); mirrors MCP add_issue_message. */
export declare const IssuesAddMessageRequestSchema: z.ZodEffects<z.ZodObject<{
    entity_id: z.ZodOptional<z.ZodString>;
    issue_number: z.ZodOptional<z.ZodNumber>;
    body: z.ZodString;
    guest_access_token: z.ZodOptional<z.ZodString>;
    /**
     * Soft requirement on public issue threads: when both `reporter_git_sha`
     * and `reporter_app_version` are missing the server emits a warning but
     * still persists the message. See docs/subsystems/issues.md.
     */
    reporter_git_sha: z.ZodOptional<z.ZodString>;
    reporter_git_ref: z.ZodOptional<z.ZodString>;
    reporter_channel: z.ZodOptional<z.ZodString>;
    reporter_app_version: z.ZodOptional<z.ZodString>;
    entity_ids_to_link: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    body: string;
    user_id?: string | undefined;
    entity_id?: string | undefined;
    reporter_git_sha?: string | undefined;
    reporter_git_ref?: string | undefined;
    reporter_channel?: string | undefined;
    reporter_app_version?: string | undefined;
    guest_access_token?: string | undefined;
    issue_number?: number | undefined;
    entity_ids_to_link?: string[] | undefined;
}, {
    body: string;
    user_id?: string | undefined;
    entity_id?: string | undefined;
    reporter_git_sha?: string | undefined;
    reporter_git_ref?: string | undefined;
    reporter_channel?: string | undefined;
    reporter_app_version?: string | undefined;
    guest_access_token?: string | undefined;
    issue_number?: number | undefined;
    entity_ids_to_link?: string[] | undefined;
}>, {
    body: string;
    user_id?: string | undefined;
    entity_id?: string | undefined;
    reporter_git_sha?: string | undefined;
    reporter_git_ref?: string | undefined;
    reporter_channel?: string | undefined;
    reporter_app_version?: string | undefined;
    guest_access_token?: string | undefined;
    issue_number?: number | undefined;
    entity_ids_to_link?: string[] | undefined;
}, {
    body: string;
    user_id?: string | undefined;
    entity_id?: string | undefined;
    reporter_git_sha?: string | undefined;
    reporter_git_ref?: string | undefined;
    reporter_channel?: string | undefined;
    reporter_app_version?: string | undefined;
    guest_access_token?: string | undefined;
    issue_number?: number | undefined;
    entity_ids_to_link?: string[] | undefined;
}>;
/** Create issue (HTTP + CLI parity with MCP submit_issue). */
export declare const IssuesSubmitRequestSchema: z.ZodObject<{
    title: z.ZodString;
    body: z.ZodString;
    labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    visibility: z.ZodOptional<z.ZodEnum<["public", "private"]>>;
    reporter_git_sha: z.ZodOptional<z.ZodString>;
    reporter_git_ref: z.ZodOptional<z.ZodString>;
    reporter_channel: z.ZodOptional<z.ZodString>;
    reporter_app_version: z.ZodOptional<z.ZodString>;
    reporter_ci_run_id: z.ZodOptional<z.ZodString>;
    reporter_patch_source_id: z.ZodOptional<z.ZodString>;
    github_url: z.ZodOptional<z.ZodString>;
    github_number: z.ZodOptional<z.ZodNumber>;
    author: z.ZodOptional<z.ZodString>;
    local_issue_id: z.ZodOptional<z.ZodString>;
    submission_timestamp: z.ZodOptional<z.ZodString>;
    entity_ids_to_link: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    body: string;
    title: string;
    user_id?: string | undefined;
    reporter_git_sha?: string | undefined;
    reporter_git_ref?: string | undefined;
    reporter_channel?: string | undefined;
    reporter_app_version?: string | undefined;
    author?: string | undefined;
    visibility?: "private" | "public" | undefined;
    entity_ids_to_link?: string[] | undefined;
    labels?: string[] | undefined;
    reporter_ci_run_id?: string | undefined;
    reporter_patch_source_id?: string | undefined;
    github_url?: string | undefined;
    github_number?: number | undefined;
    local_issue_id?: string | undefined;
    submission_timestamp?: string | undefined;
}, {
    body: string;
    title: string;
    user_id?: string | undefined;
    reporter_git_sha?: string | undefined;
    reporter_git_ref?: string | undefined;
    reporter_channel?: string | undefined;
    reporter_app_version?: string | undefined;
    author?: string | undefined;
    visibility?: "private" | "public" | undefined;
    entity_ids_to_link?: string[] | undefined;
    labels?: string[] | undefined;
    reporter_ci_run_id?: string | undefined;
    reporter_patch_source_id?: string | undefined;
    github_url?: string | undefined;
    github_number?: number | undefined;
    local_issue_id?: string | undefined;
    submission_timestamp?: string | undefined;
}>;
/** Issue status read (HTTP + CLI parity with MCP get_issue_status). */
export declare const IssuesGetStatusRequestSchema: z.ZodEffects<z.ZodObject<{
    entity_id: z.ZodOptional<z.ZodString>;
    issue_number: z.ZodOptional<z.ZodNumber>;
    skip_sync: z.ZodOptional<z.ZodBoolean>;
    guest_access_token: z.ZodOptional<z.ZodString>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    user_id?: string | undefined;
    entity_id?: string | undefined;
    guest_access_token?: string | undefined;
    issue_number?: number | undefined;
    skip_sync?: boolean | undefined;
}, {
    user_id?: string | undefined;
    entity_id?: string | undefined;
    guest_access_token?: string | undefined;
    issue_number?: number | undefined;
    skip_sync?: boolean | undefined;
}>, {
    user_id?: string | undefined;
    entity_id?: string | undefined;
    guest_access_token?: string | undefined;
    issue_number?: number | undefined;
    skip_sync?: boolean | undefined;
}, {
    user_id?: string | undefined;
    entity_id?: string | undefined;
    guest_access_token?: string | undefined;
    issue_number?: number | undefined;
    skip_sync?: boolean | undefined;
}>;
/** GitHub mirror ingest (HTTP + CLI parity with MCP sync_issues). */
export declare const IssuesSyncRequestSchema: z.ZodObject<{
    since: z.ZodOptional<z.ZodString>;
    state: z.ZodOptional<z.ZodEnum<["open", "closed", "all"]>>;
    labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    /**
     * When true (default), local public issues with no github_number are pushed to GitHub
     * before the pull leg runs. Pass false to disable the push leg.
     */
    push: z.ZodOptional<z.ZodBoolean>;
    user_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    push?: boolean | undefined;
    user_id?: string | undefined;
    state?: "closed" | "open" | "all" | undefined;
    labels?: string[] | undefined;
    since?: string | undefined;
}, {
    push?: boolean | undefined;
    user_id?: string | undefined;
    state?: "closed" | "open" | "all" | undefined;
    labels?: string[] | undefined;
    since?: string | undefined;
}>;
//# sourceMappingURL=action_schemas.d.ts.map