import { z } from "zod";
import type { ChatDocument, ChatPHState } from "./types.js";
/** Schema for validating the header object of a Chat document */
export declare const ChatDocumentHeaderSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    createdAtUtcIso: z.ZodString;
    lastModifiedAtUtcIso: z.ZodString;
    documentType: z.ZodLiteral<"powerchat/chat">;
}, z.core.$strip>;
/** Schema for validating the state object of a Chat document */
export declare const ChatPHStateSchema: z.ZodObject<{
    global: z.ZodObject<Required<{
        channelId: z.ZodType<import("./types.js").Maybe<string>, unknown, z.core.$ZodTypeInternals<import("./types.js").Maybe<string>, unknown>>;
        messages: z.ZodType<import("./types.js").Message[], unknown, z.core.$ZodTypeInternals<import("./types.js").Message[], unknown>>;
        pinnedMessageIds: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
    }>, z.core.$strip>;
}, z.core.$strip>;
export declare const ChatDocumentSchema: z.ZodObject<{
    header: z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        createdAtUtcIso: z.ZodString;
        lastModifiedAtUtcIso: z.ZodString;
        documentType: z.ZodLiteral<"powerchat/chat">;
    }, z.core.$strip>;
    state: z.ZodObject<{
        global: z.ZodObject<Required<{
            channelId: z.ZodType<import("./types.js").Maybe<string>, unknown, z.core.$ZodTypeInternals<import("./types.js").Maybe<string>, unknown>>;
            messages: z.ZodType<import("./types.js").Message[], unknown, z.core.$ZodTypeInternals<import("./types.js").Message[], unknown>>;
            pinnedMessageIds: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
        }>, z.core.$strip>;
    }, z.core.$strip>;
    initialState: z.ZodObject<{
        global: z.ZodObject<Required<{
            channelId: z.ZodType<import("./types.js").Maybe<string>, unknown, z.core.$ZodTypeInternals<import("./types.js").Maybe<string>, unknown>>;
            messages: z.ZodType<import("./types.js").Message[], unknown, z.core.$ZodTypeInternals<import("./types.js").Message[], unknown>>;
            pinnedMessageIds: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
        }>, z.core.$strip>;
    }, z.core.$strip>;
}, z.core.$strip>;
/** Simple helper function to check if a state object is a Chat document state object */
export declare function isChatState(state: unknown): state is ChatPHState;
/** Simple helper function to assert that a document state object is a Chat document state object */
export declare function assertIsChatState(state: unknown): asserts state is ChatPHState;
/** Simple helper function to check if a document is a Chat document */
export declare function isChatDocument(document: unknown): document is ChatDocument;
/** Simple helper function to assert that a document is a Chat document */
export declare function assertIsChatDocument(document: unknown): asserts document is ChatDocument;
//# sourceMappingURL=document-schema.d.ts.map