import type { CapabilityRegistry } from '../capabilities';
import type { DataViewRegistry } from '../data-views';
import type { EventRegistry } from '../events';
import type { FormRegistry } from '../forms';
import type { OperationSpecRegistry } from '../operations/registry';
import type { PresentationRegistry } from '../presentations';
export declare const contextOperationContracts: {
    ContextPackDescribeQuery: import("..").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
        packKey: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        version: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
    }>, import("@contractspec/lib.schema").SchemaModel<{
        pack: {
            type: import("@contractspec/lib.schema").SchemaModel<{
                packKey: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: false;
                };
                version: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: false;
                };
                title: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: false;
                };
                description: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: true;
                };
                owners: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: true;
                    isArray: true;
                };
                tags: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: true;
                    isArray: true;
                };
                sources: {
                    type: import("@contractspec/lib.schema").SchemaModel<{
                        kind: {
                            type: import("@contractspec/lib.schema").FieldType<string, string>;
                            isOptional: false;
                        };
                        key: {
                            type: import("@contractspec/lib.schema").FieldType<string, string>;
                            isOptional: false;
                        };
                        version: {
                            type: import("@contractspec/lib.schema").FieldType<string, string>;
                            isOptional: true;
                        };
                        required: {
                            type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
                            isOptional: true;
                        };
                        description: {
                            type: import("@contractspec/lib.schema").FieldType<string, string>;
                            isOptional: true;
                        };
                    }>;
                    isOptional: true;
                    isArray: true;
                };
            }>;
            isOptional: false;
        };
        snapshotId: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        updatedAt: {
            type: import("@contractspec/lib.schema").FieldType<Date, string>;
            isOptional: true;
        };
    }>, undefined>;
    ContextPackSearchQuery: import("..").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
        query: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        tag: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        owner: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        snapshotOnly: {
            type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
            isOptional: true;
        };
        limit: {
            type: import("@contractspec/lib.schema").FieldType<number, number>;
            isOptional: true;
        };
        offset: {
            type: import("@contractspec/lib.schema").FieldType<number, number>;
            isOptional: true;
        };
    }>, import("@contractspec/lib.schema").SchemaModel<{
        items: {
            type: import("@contractspec/lib.schema").SchemaModel<{
                packKey: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: false;
                };
                packVersion: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: false;
                };
                title: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: false;
                };
                summary: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: true;
                };
                snapshotId: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: true;
                };
                snapshotCreatedAt: {
                    type: import("@contractspec/lib.schema").FieldType<Date, string>;
                    isOptional: true;
                };
                tags: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: true;
                    isArray: true;
                };
                owners: {
                    type: import("@contractspec/lib.schema").FieldType<string, string>;
                    isOptional: true;
                    isArray: true;
                };
                sourceCount: {
                    type: import("@contractspec/lib.schema").FieldType<number, number>;
                    isOptional: true;
                };
            }>;
            isOptional: false;
            isArray: true;
        };
        total: {
            type: import("@contractspec/lib.schema").FieldType<number, number>;
            isOptional: true;
        };
        nextOffset: {
            type: import("@contractspec/lib.schema").FieldType<number, number>;
            isOptional: true;
        };
    }>, undefined>;
    ContextPackSnapshotCommand: import("..").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
        packKey: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        packVersion: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        reason: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        requestedBy: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        metadata: {
            type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
            isOptional: true;
        };
    }>, import("@contractspec/lib.schema").SchemaModel<{
        snapshotId: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        packKey: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        packVersion: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        hash: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        itemCount: {
            type: import("@contractspec/lib.schema").FieldType<number, number>;
            isOptional: true;
        };
        createdAt: {
            type: import("@contractspec/lib.schema").FieldType<Date, string>;
            isOptional: false;
        };
    }>, {
        ref: import("..").EventSpecMeta;
        when: string;
    }[]>;
};
export declare const contextEventContracts: {
    ContextSnapshotCreatedEvent: import("..").EventSpec<import("@contractspec/lib.schema").SchemaModel<{
        snapshotId: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        packKey: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        packVersion: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        hash: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: false;
        };
        itemCount: {
            type: import("@contractspec/lib.schema").FieldType<number, number>;
            isOptional: true;
        };
        createdAt: {
            type: import("@contractspec/lib.schema").FieldType<Date, string>;
            isOptional: false;
        };
    }>>;
};
export declare const contextCapabilityContracts: {
    ContextSystemCapability: import("..").CapabilitySpec;
};
export declare const contextDataViewContracts: {
    ContextSnapshotsDataView: {
        readonly meta: {
            readonly key: "context.snapshot.index";
            readonly title: "Context Snapshots";
            readonly version: "1.0.0";
            readonly description: "List context packs and their latest snapshots.";
            readonly domain: "context";
            readonly owners: string[];
            readonly tags: [...string[], "snapshot", "index"];
            readonly stability: "experimental";
            readonly entity: "context_snapshot";
            readonly docId: [import("../docs").DocId];
        };
        readonly source: {
            readonly primary: {
                readonly key: string;
                readonly version: string;
            };
        };
        readonly view: {
            readonly kind: "list";
            readonly fields: [{
                readonly key: "packKey";
                readonly label: "Pack";
                readonly dataPath: "packKey";
            }, {
                readonly key: "packVersion";
                readonly label: "Version";
                readonly dataPath: "packVersion";
            }, {
                readonly key: "snapshotId";
                readonly label: "Snapshot";
                readonly dataPath: "snapshotId";
            }, {
                readonly key: "snapshotCreatedAt";
                readonly label: "Created";
                readonly dataPath: "snapshotCreatedAt";
            }, {
                readonly key: "title";
                readonly label: "Title";
                readonly dataPath: "title";
            }, {
                readonly key: "summary";
                readonly label: "Summary";
                readonly dataPath: "summary";
            }, {
                readonly key: "sourceCount";
                readonly label: "Sources";
                readonly dataPath: "sourceCount";
            }];
            readonly primaryField: "title";
            readonly secondaryFields: ["summary", "packKey"];
            readonly filters: [{
                readonly key: "query";
                readonly label: "Search";
                readonly field: "query";
                readonly type: "search";
            }, {
                readonly key: "tag";
                readonly label: "Tag";
                readonly field: "tag";
                readonly type: "search";
            }, {
                readonly key: "owner";
                readonly label: "Owner";
                readonly field: "owner";
                readonly type: "search";
            }, {
                readonly key: "snapshotOnly";
                readonly label: "Snapshots only";
                readonly field: "snapshotOnly";
                readonly type: "boolean";
            }];
        };
        readonly policy: {
            readonly flags: [];
            readonly pii: [];
        };
    };
};
export declare const contextFormContracts: {
    ContextPackSearchForm: import("..").FormSpec<import("@contractspec/lib.schema").SchemaModel<{
        query: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        tag: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        owner: {
            type: import("@contractspec/lib.schema").FieldType<string, string>;
            isOptional: true;
        };
        snapshotOnly: {
            type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
            isOptional: true;
        };
    }>>;
};
export declare const contextPresentationContracts: {
    ContextSnapshotSummaryPresentation: import("..").PresentationSpec;
};
export declare function registerContextOperations(registry: OperationSpecRegistry): OperationSpecRegistry;
export declare function registerContextEvents(registry: EventRegistry): EventRegistry;
export declare function registerContextCapabilities(registry: CapabilityRegistry): CapabilityRegistry;
export declare function registerContextDataViews(registry: DataViewRegistry): DataViewRegistry;
export declare function registerContextForms(registry: FormRegistry): FormRegistry;
export declare function registerContextPresentations(registry: PresentationRegistry): PresentationRegistry;
