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: import("../data-views").DataViewSpec;
};
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;
