import { z } from 'zod';
export declare const PromptRegistryConfiguredSourceV1Schema: z.ZodObject<{
    id: z.ZodString;
    adapterId: z.ZodString;
    title: z.ZodString;
    enabled: z.ZodDefault<z.ZodBoolean>;
    config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, z.core.$strip>;
export type PromptRegistryConfiguredSourceV1 = z.infer<typeof PromptRegistryConfiguredSourceV1Schema>;
export declare const PromptRegistrySourcesV1Schema: z.ZodCatch<z.ZodObject<{
    v: z.ZodDefault<z.ZodLiteral<1>>;
    sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        adapterId: z.ZodString;
        title: z.ZodString;
        enabled: z.ZodDefault<z.ZodBoolean>;
        config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, z.core.$strip>>>;
}, z.core.$strip>>;
export type PromptRegistrySourcesV1 = z.infer<typeof PromptRegistrySourcesV1Schema>;
export declare const PromptRegistryAdapterDescriptorV1Schema: z.ZodObject<{
    id: z.ZodString;
    title: z.ZodString;
    description: z.ZodString;
    supportsConfiguredSources: z.ZodDefault<z.ZodBoolean>;
    supportsQuery: z.ZodDefault<z.ZodBoolean>;
    minimumQueryLength: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>;
export type PromptRegistryAdapterDescriptorV1 = z.infer<typeof PromptRegistryAdapterDescriptorV1Schema>;
export declare const PromptRegistrySourceDescriptorV1Schema: z.ZodObject<{
    id: z.ZodString;
    adapterId: z.ZodString;
    title: z.ZodString;
    subtitle: z.ZodOptional<z.ZodString>;
    origin: z.ZodEnum<{
        user: "user";
        built_in: "built_in";
    }>;
}, z.core.$strip>;
export type PromptRegistrySourceDescriptorV1 = z.infer<typeof PromptRegistrySourceDescriptorV1Schema>;
export declare const PromptRegistryItemSummaryV1Schema: z.ZodObject<{
    sourceId: z.ZodString;
    itemId: z.ZodString;
    title: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    bundleSchemaId: z.ZodEnum<{
        "skills.skill_md_v1": "skills.skill_md_v1";
        "bundle.generic_v1": "bundle.generic_v1";
    }>;
    displayPath: z.ZodString;
    providerHints: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
export type PromptRegistryItemSummaryV1 = z.infer<typeof PromptRegistryItemSummaryV1Schema>;
export declare const PromptRegistryFetchedItemV1Schema: z.ZodObject<{
    sourceId: z.ZodString;
    itemId: z.ZodString;
    title: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    bundleSchemaId: z.ZodEnum<{
        "skills.skill_md_v1": "skills.skill_md_v1";
        "bundle.generic_v1": "bundle.generic_v1";
    }>;
    bundleBody: z.ZodObject<{
        v: z.ZodLiteral<1>;
        entries: z.ZodArray<z.ZodObject<{
            path: z.ZodString;
            contentBase64: z.ZodString;
            contentKind: z.ZodEnum<{
                utf8: "utf8";
                binary: "binary";
            }>;
            unixMode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
        }, z.core.$strict>>;
        createdAtMs: z.ZodNumber;
        updatedAtMs: z.ZodNumber;
    }, z.core.$strict>;
}, z.core.$strip>;
export type PromptRegistryFetchedItemV1 = z.infer<typeof PromptRegistryFetchedItemV1Schema>;
export declare const PromptRegistryListSourcesRequestV1Schema: z.ZodObject<{
    configuredSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        adapterId: z.ZodString;
        title: z.ZodString;
        enabled: z.ZodDefault<z.ZodBoolean>;
        config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, z.core.$strip>>>;
}, z.core.$strip>;
export type PromptRegistryListSourcesRequestV1 = z.infer<typeof PromptRegistryListSourcesRequestV1Schema>;
export declare const PromptRegistryScanSourceRequestV1Schema: z.ZodObject<{
    sourceId: z.ZodString;
    configuredSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        adapterId: z.ZodString;
        title: z.ZodString;
        enabled: z.ZodDefault<z.ZodBoolean>;
        config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, z.core.$strip>>>;
    query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$strip>;
export type PromptRegistryScanSourceRequestV1 = z.infer<typeof PromptRegistryScanSourceRequestV1Schema>;
export declare const PromptRegistryFetchItemRequestV1Schema: z.ZodObject<{
    sourceId: z.ZodString;
    itemId: z.ZodString;
    configuredSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        adapterId: z.ZodString;
        title: z.ZodString;
        enabled: z.ZodDefault<z.ZodBoolean>;
        config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, z.core.$strip>>>;
}, z.core.$strip>;
export type PromptRegistryFetchItemRequestV1 = z.infer<typeof PromptRegistryFetchItemRequestV1Schema>;
export declare const PromptRegistryInstallTargetV1Schema: z.ZodObject<{
    assetTypeId: z.ZodString;
    scope: z.ZodEnum<{
        user: "user";
        project: "project";
    }>;
    directory: z.ZodOptional<z.ZodString>;
    targetName: z.ZodString;
    installMode: z.ZodOptional<z.ZodEnum<{
        copy: "copy";
        symlink: "symlink";
    }>>;
}, z.core.$strip>;
export type PromptRegistryInstallTargetV1 = z.infer<typeof PromptRegistryInstallTargetV1Schema>;
export declare const PromptRegistryInstallRequestV1Schema: z.ZodObject<{
    sourceId: z.ZodString;
    itemId: z.ZodString;
    configuredSources: z.ZodDefault<z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        adapterId: z.ZodString;
        title: z.ZodString;
        enabled: z.ZodDefault<z.ZodBoolean>;
        config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, z.core.$strip>>>;
    installTarget: z.ZodObject<{
        assetTypeId: z.ZodString;
        scope: z.ZodEnum<{
            user: "user";
            project: "project";
        }>;
        directory: z.ZodOptional<z.ZodString>;
        targetName: z.ZodString;
        installMode: z.ZodOptional<z.ZodEnum<{
            copy: "copy";
            symlink: "symlink";
        }>>;
    }, z.core.$strip>;
    previewOnly: z.ZodOptional<z.ZodBoolean>;
    expectedDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$strip>;
export type PromptRegistryInstallRequestV1 = z.infer<typeof PromptRegistryInstallRequestV1Schema>;
export declare const PromptRegistryErrorCodeV1Schema: z.ZodEnum<{
    invalid_request: "invalid_request";
    internal_error: "internal_error";
    not_found: "not_found";
    unsupported: "unsupported";
}>;
export type PromptRegistryErrorCodeV1 = z.infer<typeof PromptRegistryErrorCodeV1Schema>;
export declare const PromptRegistryErrorResponseV1Schema: z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        not_found: "not_found";
        unsupported: "unsupported";
    }>;
    error: z.ZodString;
}, z.core.$strip>;
export type PromptRegistryErrorResponseV1 = z.infer<typeof PromptRegistryErrorResponseV1Schema>;
export declare const PromptRegistryListAdaptersResponseV1Schema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    adapters: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        title: z.ZodString;
        description: z.ZodString;
        supportsConfiguredSources: z.ZodDefault<z.ZodBoolean>;
        supportsQuery: z.ZodDefault<z.ZodBoolean>;
        minimumQueryLength: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        not_found: "not_found";
        unsupported: "unsupported";
    }>;
    error: z.ZodString;
}, z.core.$strip>]>;
export type PromptRegistryListAdaptersResponseV1 = z.infer<typeof PromptRegistryListAdaptersResponseV1Schema>;
export declare const PromptRegistryListSourcesResponseV1Schema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    sources: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        adapterId: z.ZodString;
        title: z.ZodString;
        subtitle: z.ZodOptional<z.ZodString>;
        origin: z.ZodEnum<{
            user: "user";
            built_in: "built_in";
        }>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        not_found: "not_found";
        unsupported: "unsupported";
    }>;
    error: z.ZodString;
}, z.core.$strip>]>;
export type PromptRegistryListSourcesResponseV1 = z.infer<typeof PromptRegistryListSourcesResponseV1Schema>;
export declare const PromptRegistryScanSourceResponseV1Schema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    items: z.ZodArray<z.ZodObject<{
        sourceId: z.ZodString;
        itemId: z.ZodString;
        title: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
        bundleSchemaId: z.ZodEnum<{
            "skills.skill_md_v1": "skills.skill_md_v1";
            "bundle.generic_v1": "bundle.generic_v1";
        }>;
        displayPath: z.ZodString;
        providerHints: z.ZodOptional<z.ZodArray<z.ZodString>>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        not_found: "not_found";
        unsupported: "unsupported";
    }>;
    error: z.ZodString;
}, z.core.$strip>]>;
export type PromptRegistryScanSourceResponseV1 = z.infer<typeof PromptRegistryScanSourceResponseV1Schema>;
export declare const PromptRegistryFetchItemResponseV1Schema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    item: z.ZodObject<{
        sourceId: z.ZodString;
        itemId: z.ZodString;
        title: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
        bundleSchemaId: z.ZodEnum<{
            "skills.skill_md_v1": "skills.skill_md_v1";
            "bundle.generic_v1": "bundle.generic_v1";
        }>;
        bundleBody: z.ZodObject<{
            v: z.ZodLiteral<1>;
            entries: z.ZodArray<z.ZodObject<{
                path: z.ZodString;
                contentBase64: z.ZodString;
                contentKind: z.ZodEnum<{
                    utf8: "utf8";
                    binary: "binary";
                }>;
                unixMode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
            }, z.core.$strict>>;
            createdAtMs: z.ZodNumber;
            updatedAtMs: z.ZodNumber;
        }, z.core.$strict>;
    }, z.core.$strip>;
}, z.core.$strip>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        internal_error: "internal_error";
        not_found: "not_found";
        unsupported: "unsupported";
    }>;
    error: z.ZodString;
}, z.core.$strip>]>;
export type PromptRegistryFetchItemResponseV1 = z.infer<typeof PromptRegistryFetchItemResponseV1Schema>;
export declare const PromptRegistryInstallResponseV1Schema: z.ZodUnion<readonly [z.ZodObject<{
    ok: z.ZodLiteral<true>;
    externalRef: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    digest: z.ZodOptional<z.ZodString>;
    preview: z.ZodOptional<z.ZodObject<{
        operation: z.ZodEnum<{
            write: "write";
            delete: "delete";
        }>;
        targetPath: z.ZodString;
        fileCount: z.ZodNumber;
    }, z.core.$strict>>;
}, z.core.$strip>, z.ZodObject<{
    ok: z.ZodLiteral<false>;
    errorCode: z.ZodEnum<{
        invalid_request: "invalid_request";
        access_denied: "access_denied";
        conflict: "conflict";
        internal_error: "internal_error";
        not_found: "not_found";
        unsupported: "unsupported";
    }>;
    error: z.ZodString;
    currentDigest: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$strip>]>;
export type PromptRegistryInstallResponseV1 = z.infer<typeof PromptRegistryInstallResponseV1Schema>;
//# sourceMappingURL=promptRegistriesV1.d.ts.map