import type { FromLixSchemaDefinition } from "../schema-definition/definition.js";
import { type ZettelDoc } from "@opral/zettel-ast";
export type LixConversation = FromLixSchemaDefinition<typeof LixConversationSchema>;
export declare const LixConversationSchema: {
    readonly "x-lix-key": "lix_conversation";
    readonly "x-lix-version": "1.0";
    readonly "x-lix-primary-key": readonly ["/id"];
    readonly "x-lix-override-lixcols": {
        readonly lixcol_file_id: "\"lix\"";
        readonly lixcol_plugin_key: "\"lix_sdk\"";
    };
    readonly type: "object";
    readonly properties: {
        readonly id: {
            readonly type: "string";
            readonly "x-lix-default": "lix_uuid_v7()";
        };
    };
    readonly required: readonly ["id"];
    readonly additionalProperties: false;
};
export type LixConversationMessage = FromLixSchemaDefinition<typeof LixConversationMessageSchema> & {
    body: ZettelDoc;
};
export declare const LixConversationMessageSchema: {
    readonly "x-lix-key": "lix_conversation_message";
    readonly "x-lix-version": "1.0";
    readonly "x-lix-primary-key": readonly ["/id"];
    readonly "x-lix-override-lixcols": {
        readonly lixcol_file_id: "\"lix\"";
        readonly lixcol_plugin_key: "\"lix_sdk\"";
    };
    readonly "x-lix-foreign-keys": readonly [{
        readonly properties: readonly ["/conversation_id"];
        readonly references: {
            readonly schemaKey: "lix_conversation";
            readonly properties: readonly ["/id"];
        };
    }, {
        readonly properties: readonly ["/parent_id"];
        readonly references: {
            readonly schemaKey: "lix_conversation_message";
            readonly properties: readonly ["/id"];
        };
    }];
    readonly type: "object";
    readonly properties: {
        readonly id: {
            readonly type: "string";
            readonly "x-lix-default": "lix_uuid_v7()";
        };
        readonly conversation_id: {
            readonly type: "string";
        };
        readonly parent_id: {
            readonly type: "string";
            readonly nullable: true;
        };
        readonly body: any;
    };
    readonly required: readonly ["id", "conversation_id", "body"];
    readonly additionalProperties: false;
};
//# sourceMappingURL=schema-definition.d.ts.map