import * as opapi from '@bpinternal/opapi';
export type State = opapi.State<'File', 'x-bot-id' | 'x-integration-id' | 'x-integration-alias' | 'x-integration-name' | 'x-user-id' | 'x-user-role', 'files'>;
export declare const state: {
    operations: {
        upsertFile: {
            name: string;
            path: string;
            description: string;
            method: "put";
            requestBody: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        key: {
                            type: "string";
                            description: string;
                        };
                        tags: {
                            type: "object";
                            additionalProperties: {
                                type: "string";
                                maxLength: number;
                            };
                            description: string;
                        };
                        size: {
                            type: "number";
                            description: string;
                        };
                        index: {
                            default: boolean;
                            type: "boolean";
                            description: string;
                        };
                        indexing: {
                            type: "object";
                            properties: {
                                configuration: {
                                    type: "object";
                                    properties: {
                                        parsing: {
                                            type: "object";
                                            properties: {
                                                mode: {
                                                    type: "string";
                                                    enum: string[];
                                                    description: string;
                                                };
                                                minimumParagraphLength: {
                                                    type: "integer";
                                                    minimum: number;
                                                    maximum: number;
                                                    description: string;
                                                };
                                                smartCleanup: {
                                                    type: "boolean";
                                                    description: string;
                                                };
                                            };
                                            additionalProperties: false;
                                        };
                                        chunking: {
                                            type: "object";
                                            properties: {
                                                maximumChunkLength: {
                                                    type: "integer";
                                                    minimum: number;
                                                    maximum: number;
                                                    description: string;
                                                };
                                                embeddedContextLevels: {
                                                    type: "integer";
                                                    minimum: number;
                                                    maximum: number;
                                                    description: string;
                                                };
                                                embedBreadcrumb: {
                                                    type: "boolean";
                                                    description: string;
                                                };
                                            };
                                            additionalProperties: false;
                                        };
                                        summarization: {
                                            type: "object";
                                            properties: {
                                                enable: {
                                                    default: boolean;
                                                    type: "boolean";
                                                    description: string;
                                                };
                                                modelType: {
                                                    default: string;
                                                    type: "string";
                                                    enum: string[];
                                                    description: string;
                                                };
                                                minimumInputLength: {
                                                    type: "integer";
                                                    minimum: number;
                                                    maximum: number;
                                                    description: string;
                                                };
                                                outputTokenLimit: {
                                                    type: "integer";
                                                    minimum: number;
                                                    maximum: number;
                                                    description: string;
                                                };
                                                generateMasterSummary: {
                                                    type: "boolean";
                                                    description: string;
                                                };
                                            };
                                            additionalProperties: false;
                                        };
                                        stack: {
                                            type: "string";
                                            enum: string[];
                                            description: string;
                                        };
                                        vision: {
                                            type: "object";
                                            properties: {
                                                transcribePages: {
                                                    description: string;
                                                };
                                                indexPages: {
                                                    description: string;
                                                };
                                            };
                                            additionalProperties: false;
                                        };
                                    };
                                    description: string;
                                    additionalProperties: false;
                                };
                            };
                            required: string[];
                            additionalProperties: false;
                        };
                        accessPolicies: {
                            type: "array";
                            items: {
                                type: "string";
                                enum: string[];
                            };
                            description: string;
                        };
                        contentType: {
                            type: "string";
                            description: string;
                        };
                        expiresAt: {
                            type: "string";
                            format: string;
                            description: string;
                        };
                        publicContentImmediatelyAccessible: {
                            type: "boolean";
                            description: string;
                        };
                        metadata: {
                            description: string;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            contentType: "application/json";
            section: "files";
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        file: {
                            type: "object";
                            properties: {
                                id: {
                                    type: "string";
                                    description: string;
                                };
                                botId: {
                                    type: "string";
                                    description: string;
                                };
                                key: {
                                    type: "string";
                                    description: string;
                                };
                                url: {
                                    type: "string";
                                    description: string;
                                };
                                size: {
                                    type: "number";
                                    description: string;
                                    nullable: true;
                                };
                                contentType: {
                                    type: "string";
                                    description: string;
                                };
                                tags: {
                                    type: "object";
                                    additionalProperties: {
                                        type: "string";
                                        maxLength: number;
                                    };
                                    description: string;
                                };
                                metadata: {
                                    type: "object";
                                    additionalProperties: {
                                        nullable: true;
                                    };
                                    description: string;
                                };
                                createdAt: {
                                    type: "string";
                                    description: string;
                                };
                                updatedAt: {
                                    type: "string";
                                    description: string;
                                };
                                accessPolicies: {
                                    type: "array";
                                    items: {
                                        type: "string";
                                        enum: string[];
                                    };
                                    description: string;
                                };
                                index: {
                                    type: "boolean";
                                    description: string;
                                };
                                status: {
                                    type: "string";
                                    enum: string[];
                                    description: string;
                                };
                                failedStatusReason: {
                                    type: "string";
                                    description: string;
                                };
                                expiresAt: {
                                    type: "string";
                                    description: string;
                                };
                                owner: {
                                    type: "object";
                                    properties: {
                                        type: {
                                            type: "string";
                                            enum: string[];
                                        };
                                        id: {
                                            type: "string";
                                            description: string;
                                        };
                                        name: {
                                            type: "string";
                                            description: string;
                                        };
                                        alias: {
                                            type: "string";
                                            description: string;
                                        };
                                    };
                                    required: string[];
                                    additionalProperties: false;
                                };
                                indexingStack: {
                                    type: "string";
                                    enum: string[];
                                    description: string;
                                };
                                uploadUrl: {
                                    type: "string";
                                    description: string;
                                };
                            };
                            required: string[];
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
            parameters: {
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
        };
        deleteFile: {
            name: string;
            path: string;
            description: string;
            method: "delete";
            section: "files";
            parameters: {
                id: {
                    type: "string";
                    description: string;
                    in: "path";
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
        };
        listFiles: {
            name: string;
            path: string;
            description: string;
            method: "get";
            section: "files";
            parameters: {
                nextToken: {
                    in: "query";
                    description: string;
                    type: "string";
                };
                sortField: {
                    in: "query";
                    description: string;
                    type: "string";
                    enum: string[];
                };
                sortDirection: {
                    in: "query";
                    description: string;
                    type: "string";
                    enum: string[];
                };
                tags: {
                    in: "query";
                    description: string;
                    type: "object";
                    schema: {};
                };
                ids: {
                    in: "query";
                    description: string;
                    type: "object";
                    schema: {
                        type: "array";
                        items: {
                            type: "string";
                        };
                        maxItems: number;
                    };
                };
                indexed: {
                    in: "query";
                    type: "boolean";
                    description: string;
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        files: {
                            type: "array";
                            items: {
                                type: "object";
                                properties: {
                                    id: {
                                        type: "string";
                                        description: string;
                                    };
                                    botId: {
                                        type: "string";
                                        description: string;
                                    };
                                    key: {
                                        type: "string";
                                        description: string;
                                    };
                                    url: {
                                        type: "string";
                                        description: string;
                                    };
                                    size: {
                                        type: "number";
                                        description: string;
                                        nullable: true;
                                    };
                                    contentType: {
                                        type: "string";
                                        description: string;
                                    };
                                    tags: {
                                        type: "object";
                                        additionalProperties: {
                                            type: "string";
                                            maxLength: number;
                                        };
                                        description: string;
                                    };
                                    metadata: {
                                        type: "object";
                                        additionalProperties: {
                                            nullable: true;
                                        };
                                        description: string;
                                    };
                                    createdAt: {
                                        type: "string";
                                        description: string;
                                    };
                                    updatedAt: {
                                        type: "string";
                                        description: string;
                                    };
                                    accessPolicies: {
                                        type: "array";
                                        items: {
                                            type: "string";
                                            enum: string[];
                                        };
                                        description: string;
                                    };
                                    index: {
                                        type: "boolean";
                                        description: string;
                                    };
                                    status: {
                                        type: "string";
                                        enum: string[];
                                        description: string;
                                    };
                                    failedStatusReason: {
                                        type: "string";
                                        description: string;
                                    };
                                    expiresAt: {
                                        type: "string";
                                        description: string;
                                    };
                                    owner: {
                                        type: "object";
                                        properties: {
                                            type: {
                                                type: "string";
                                                enum: string[];
                                            };
                                            id: {
                                                type: "string";
                                                description: string;
                                            };
                                            name: {
                                                type: "string";
                                                description: string;
                                            };
                                            alias: {
                                                type: "string";
                                                description: string;
                                            };
                                        };
                                        required: string[];
                                    };
                                    indexingStack: {
                                        type: "string";
                                        enum: string[];
                                        description: string;
                                    };
                                };
                                required: string[];
                            };
                        };
                        meta: {
                            type: "object";
                            properties: {
                                nextToken: {
                                    type: "string";
                                    description: string;
                                };
                            };
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
        };
        getFile: {
            name: string;
            path: string;
            description: string;
            method: "get";
            section: "files";
            parameters: {
                id: {
                    type: "string";
                    description: string;
                    in: "path";
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        file: {
                            type: "object";
                            properties: {
                                id: {
                                    type: "string";
                                    description: string;
                                };
                                botId: {
                                    type: "string";
                                    description: string;
                                };
                                key: {
                                    type: "string";
                                    description: string;
                                };
                                url: {
                                    type: "string";
                                    description: string;
                                };
                                size: {
                                    type: "number";
                                    description: string;
                                    nullable: true;
                                };
                                contentType: {
                                    type: "string";
                                    description: string;
                                };
                                tags: {
                                    type: "object";
                                    additionalProperties: {
                                        type: "string";
                                        maxLength: number;
                                    };
                                    description: string;
                                };
                                metadata: {
                                    type: "object";
                                    additionalProperties: {
                                        nullable: true;
                                    };
                                    description: string;
                                };
                                createdAt: {
                                    type: "string";
                                    description: string;
                                };
                                updatedAt: {
                                    type: "string";
                                    description: string;
                                };
                                accessPolicies: {
                                    type: "array";
                                    items: {
                                        type: "string";
                                        enum: string[];
                                    };
                                    description: string;
                                };
                                index: {
                                    type: "boolean";
                                    description: string;
                                };
                                status: {
                                    type: "string";
                                    enum: string[];
                                    description: string;
                                };
                                failedStatusReason: {
                                    type: "string";
                                    description: string;
                                };
                                expiresAt: {
                                    type: "string";
                                    description: string;
                                };
                                owner: {
                                    type: "object";
                                    properties: {
                                        type: {
                                            type: "string";
                                            enum: string[];
                                        };
                                        id: {
                                            type: "string";
                                            description: string;
                                        };
                                        name: {
                                            type: "string";
                                            description: string;
                                        };
                                        alias: {
                                            type: "string";
                                            description: string;
                                        };
                                    };
                                    required: string[];
                                    additionalProperties: false;
                                };
                                indexingStack: {
                                    type: "string";
                                    enum: string[];
                                    description: string;
                                };
                            };
                            required: string[];
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
        };
        updateFileMetadata: {
            name: string;
            path: string;
            description: string;
            method: "put";
            section: "files";
            parameters: {
                id: {
                    type: "string";
                    description: string;
                    in: "path";
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            requestBody: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        metadata: {
                            description: string;
                        };
                        tags: {
                            type: "object";
                            additionalProperties: {
                                type: "string";
                                maxLength: number;
                                nullable: true;
                            };
                            description: string;
                        };
                        accessPolicies: {
                            type: "array";
                            items: {
                                type: "string";
                                enum: string[];
                            };
                            description: string;
                        };
                        expiresAt: {
                            type: "string";
                            format: string;
                            description: string;
                            nullable: true;
                        };
                    };
                    title: string;
                    additionalProperties: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        file: {
                            type: "object";
                            properties: {
                                id: {
                                    type: "string";
                                    description: string;
                                };
                                botId: {
                                    type: "string";
                                    description: string;
                                };
                                key: {
                                    type: "string";
                                    description: string;
                                };
                                url: {
                                    type: "string";
                                    description: string;
                                };
                                size: {
                                    type: "number";
                                    description: string;
                                    nullable: true;
                                };
                                contentType: {
                                    type: "string";
                                    description: string;
                                };
                                tags: {
                                    type: "object";
                                    additionalProperties: {
                                        type: "string";
                                        maxLength: number;
                                    };
                                    description: string;
                                };
                                metadata: {
                                    type: "object";
                                    additionalProperties: {
                                        nullable: true;
                                    };
                                    description: string;
                                };
                                createdAt: {
                                    type: "string";
                                    description: string;
                                };
                                updatedAt: {
                                    type: "string";
                                    description: string;
                                };
                                accessPolicies: {
                                    type: "array";
                                    items: {
                                        type: "string";
                                        enum: string[];
                                    };
                                    description: string;
                                };
                                index: {
                                    type: "boolean";
                                    description: string;
                                };
                                status: {
                                    type: "string";
                                    enum: string[];
                                    description: string;
                                };
                                failedStatusReason: {
                                    type: "string";
                                    description: string;
                                };
                                expiresAt: {
                                    type: "string";
                                    description: string;
                                };
                                owner: {
                                    type: "object";
                                    properties: {
                                        type: {
                                            type: "string";
                                            enum: string[];
                                        };
                                        id: {
                                            type: "string";
                                            description: string;
                                        };
                                        name: {
                                            type: "string";
                                            description: string;
                                        };
                                        alias: {
                                            type: "string";
                                            description: string;
                                        };
                                    };
                                    required: string[];
                                    additionalProperties: false;
                                };
                                indexingStack: {
                                    type: "string";
                                    enum: string[];
                                    description: string;
                                };
                            };
                            required: string[];
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
        };
        copyFile: {
            name: string;
            path: string;
            description: string;
            method: "post";
            section: "files";
            parameters: {
                idOrKey: {
                    type: "string";
                    description: string;
                    in: "path";
                };
                destinationKey: {
                    in: "path";
                    type: "string";
                    description: string;
                };
                "x-destination-bot-id": {
                    in: "header";
                    type: "string";
                    description: string;
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            requestBody: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        overwrite: {
                            type: "boolean";
                            description: string;
                        };
                    };
                    title: string;
                    additionalProperties: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        file: {
                            type: "object";
                            properties: {
                                id: {
                                    type: "string";
                                    description: string;
                                };
                                botId: {
                                    type: "string";
                                    description: string;
                                };
                                key: {
                                    type: "string";
                                    description: string;
                                };
                                url: {
                                    type: "string";
                                    description: string;
                                };
                                size: {
                                    type: "number";
                                    description: string;
                                    nullable: true;
                                };
                                contentType: {
                                    type: "string";
                                    description: string;
                                };
                                tags: {
                                    type: "object";
                                    additionalProperties: {
                                        type: "string";
                                        maxLength: number;
                                    };
                                    description: string;
                                };
                                metadata: {
                                    type: "object";
                                    additionalProperties: {
                                        nullable: true;
                                    };
                                    description: string;
                                };
                                createdAt: {
                                    type: "string";
                                    description: string;
                                };
                                updatedAt: {
                                    type: "string";
                                    description: string;
                                };
                                accessPolicies: {
                                    type: "array";
                                    items: {
                                        type: "string";
                                        enum: string[];
                                    };
                                    description: string;
                                };
                                index: {
                                    type: "boolean";
                                    description: string;
                                };
                                status: {
                                    type: "string";
                                    enum: string[];
                                    description: string;
                                };
                                failedStatusReason: {
                                    type: "string";
                                    description: string;
                                };
                                expiresAt: {
                                    type: "string";
                                    description: string;
                                };
                                owner: {
                                    type: "object";
                                    properties: {
                                        type: {
                                            type: "string";
                                            enum: string[];
                                        };
                                        id: {
                                            type: "string";
                                            description: string;
                                        };
                                        name: {
                                            type: "string";
                                            description: string;
                                        };
                                        alias: {
                                            type: "string";
                                            description: string;
                                        };
                                    };
                                    required: string[];
                                    additionalProperties: false;
                                };
                                indexingStack: {
                                    type: "string";
                                    enum: string[];
                                    description: string;
                                };
                            };
                            required: string[];
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
        };
        searchFiles: {
            name: string;
            path: string;
            description: string;
            method: "get";
            section: "files";
            parameters: {
                tags: {
                    in: "query";
                    description: string;
                    type: "object";
                    schema: {};
                };
                query: {
                    in: "query";
                    type: "string";
                    description: string;
                    required: true;
                };
                contextDepth: {
                    in: "query";
                    type: "integer";
                    description: string;
                };
                limit: {
                    in: "query";
                    type: "integer";
                    description: string;
                };
                consolidate: {
                    in: "query";
                    type: "boolean";
                    description: string;
                };
                includeBreadcrumb: {
                    in: "query";
                    type: "boolean";
                    description: string;
                };
                withContext: {
                    in: "query";
                    type: "boolean";
                    description: string;
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        passages: {
                            type: "array";
                            items: {
                                type: "object";
                                properties: {
                                    content: {
                                        type: "string";
                                        description: string;
                                    };
                                    score: {
                                        type: "number";
                                        description: string;
                                    };
                                    meta: {
                                        type: "object";
                                        properties: {
                                            type: {
                                                type: "string";
                                                enum: string[];
                                                description: string;
                                            };
                                            subtype: {
                                                type: "string";
                                                enum: string[];
                                                description: string;
                                            };
                                            pageNumber: {
                                                type: "integer";
                                                description: string;
                                            };
                                            position: {
                                                type: "integer";
                                                description: string;
                                            };
                                            sourceUrl: {
                                                type: "string";
                                                format: string;
                                                description: string;
                                            };
                                        };
                                        description: string;
                                    };
                                    file: {
                                        type: "object";
                                        properties: {
                                            id: {
                                                type: "string";
                                                description: string;
                                            };
                                            key: {
                                                type: "string";
                                                description: string;
                                            };
                                            contentType: {
                                                type: "string";
                                                description: string;
                                            };
                                            metadata: {
                                                type: "object";
                                                additionalProperties: {
                                                    nullable: true;
                                                };
                                                description: string;
                                            };
                                            tags: {
                                                type: "object";
                                                additionalProperties: {
                                                    type: "string";
                                                    maxLength: number;
                                                };
                                                description: string;
                                            };
                                            createdAt: {
                                                type: "string";
                                                description: string;
                                            };
                                            updatedAt: {
                                                type: "string";
                                                description: string;
                                            };
                                        };
                                        required: string[];
                                    };
                                    context: {
                                        type: "array";
                                        items: {
                                            type: "object";
                                            properties: {
                                                id: {
                                                    type: "string";
                                                    format: string;
                                                    description: string;
                                                };
                                                text: {
                                                    type: "string";
                                                };
                                                offset: {
                                                    type: "integer";
                                                    description: string;
                                                };
                                                type: {
                                                    type: "string";
                                                    enum: string[];
                                                    description: string;
                                                };
                                            };
                                            required: string[];
                                        };
                                        description: string;
                                    };
                                };
                                required: string[];
                            };
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
        };
        listFilePassages: {
            name: string;
            path: string;
            description: string;
            method: "get";
            section: "files";
            parameters: {
                nextToken: {
                    in: "query";
                    description: string;
                    type: "string";
                };
                id: {
                    type: "string";
                    description: string;
                    in: "path";
                };
                limit: {
                    type: "number";
                    description: string;
                    in: "query";
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        passages: {
                            type: "array";
                            items: {
                                type: "object";
                                properties: {
                                    id: {
                                        type: "string";
                                        description: string;
                                    };
                                    content: {
                                        type: "string";
                                        description: string;
                                    };
                                    meta: {
                                        type: "object";
                                        properties: {
                                            type: {
                                                type: "string";
                                                enum: string[];
                                                description: string;
                                            };
                                            subtype: {
                                                type: "string";
                                                enum: string[];
                                                description: string;
                                            };
                                            pageNumber: {
                                                type: "integer";
                                                description: string;
                                            };
                                            position: {
                                                type: "integer";
                                                description: string;
                                            };
                                            sourceUrl: {
                                                type: "string";
                                                format: string;
                                                description: string;
                                            };
                                        };
                                        description: string;
                                    };
                                };
                                required: string[];
                            };
                        };
                        meta: {
                            type: "object";
                            properties: {
                                nextToken: {
                                    type: "string";
                                    description: string;
                                };
                            };
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
        };
        setFilePassages: {
            name: string;
            path: string;
            description: string;
            method: "put";
            section: "files";
            parameters: {
                id: {
                    type: "string";
                    description: string;
                    in: "path";
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            requestBody: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        passages: {
                            type: "array";
                            items: {
                                type: "object";
                                properties: {
                                    content: {
                                        type: "string";
                                        description: string;
                                    };
                                    type: {
                                        default: string;
                                        type: "string";
                                        enum: string[];
                                        description: string;
                                    };
                                    pageNumber: {
                                        type: "integer";
                                    };
                                };
                                required: string[];
                            };
                            description: string;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            contentType: "application/json";
            response: {
                description: string;
                schema: {
                    type: "object";
                    title: string;
                    additionalProperties: false;
                };
            };
        };
        listFileTags: {
            name: string;
            path: string;
            description: string;
            method: "get";
            section: "files";
            parameters: {
                nextToken: {
                    in: "query";
                    description: string;
                    type: "string";
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        tags: {
                            type: "array";
                            items: {
                                type: "string";
                            };
                        };
                        meta: {
                            type: "object";
                            properties: {
                                nextToken: {
                                    type: "string";
                                    description: string;
                                };
                            };
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
        };
        listFileTagValues: {
            name: string;
            path: string;
            description: string;
            method: "get";
            section: "files";
            parameters: {
                nextToken: {
                    in: "query";
                    description: string;
                    type: "string";
                };
                tag: {
                    type: "string";
                    description: string;
                    in: "path";
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        values: {
                            type: "array";
                            items: {
                                type: "string";
                            };
                        };
                        meta: {
                            type: "object";
                            properties: {
                                nextToken: {
                                    type: "string";
                                    description: string;
                                };
                            };
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            tags: string[];
        };
        createKnowledgeBase: {
            name: string;
            path: string;
            description: string;
            method: "post";
            requestBody: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        name: {
                            type: "string";
                            description: string;
                        };
                        tags: {
                            type: "object";
                            additionalProperties: {
                                type: "string";
                            };
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            contentType: "application/json";
            section: "files";
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        knowledgeBase: {
                            type: "object";
                            properties: {
                                id: {
                                    type: "string";
                                    description: string;
                                };
                                name: {
                                    type: "string";
                                    description: string;
                                };
                                tags: {
                                    type: "object";
                                    additionalProperties: {
                                        type: "string";
                                    };
                                };
                            };
                            required: string[];
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            parameters: {
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
        };
        deleteKnowledgeBase: {
            name: string;
            path: string;
            description: string;
            method: "delete";
            section: "files";
            parameters: {
                id: {
                    type: "string";
                    description: string;
                    in: "path";
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    title: string;
                    additionalProperties: false;
                };
            };
        };
        updateKnowledgeBase: {
            name: string;
            path: string;
            description: string;
            method: "put";
            section: "files";
            parameters: {
                id: {
                    type: "string";
                    description: string;
                    in: "path";
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            requestBody: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        name: {
                            type: "string";
                            description: string;
                        };
                        tags: {
                            type: "object";
                            additionalProperties: {
                                type: "string";
                                maxLength: number;
                                nullable: true;
                            };
                            description: string;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
            contentType: "application/json";
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        knowledgeBase: {
                            type: "object";
                            properties: {
                                id: {
                                    type: "string";
                                    description: string;
                                };
                                name: {
                                    type: "string";
                                    description: string;
                                };
                                tags: {
                                    type: "object";
                                    additionalProperties: {
                                        type: "string";
                                    };
                                };
                            };
                            required: string[];
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
        };
        listKnowledgeBases: {
            name: string;
            path: string;
            description: string;
            method: "get";
            section: "files";
            parameters: {
                nextToken: {
                    in: "query";
                    description: string;
                    type: "string";
                };
                tags: {
                    in: "query";
                    description: string;
                    type: "object";
                    schema: {};
                };
                "x-bot-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: true;
                };
                "x-integration-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-alias": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-integration-name": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-id": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
                "x-user-role": {
                    in: "header";
                    description: string;
                    type: "string";
                    required: false;
                };
            };
            response: {
                description: string;
                schema: {
                    type: "object";
                    properties: {
                        knowledgeBases: {
                            type: "array";
                            items: {
                                type: "object";
                                properties: {
                                    id: {
                                        type: "string";
                                        description: string;
                                    };
                                    name: {
                                        type: "string";
                                        description: string;
                                    };
                                    createdAt: {
                                        type: "string";
                                        description: string;
                                    };
                                    tags: {
                                        type: "object";
                                        additionalProperties: {
                                            type: "string";
                                        };
                                    };
                                };
                                required: string[];
                            };
                        };
                        meta: {
                            type: "object";
                            properties: {
                                nextToken: {
                                    type: "string";
                                    description: string;
                                };
                            };
                            additionalProperties: false;
                        };
                    };
                    required: string[];
                    title: string;
                    additionalProperties: false;
                };
            };
        };
    };
    metadata: {
        title: string;
        description: string;
        server: string;
        version: string;
        prefix: string;
    };
    defaultParameters: {
        "x-bot-id": {
            in: "header";
            description: string;
            type: "string";
            required: true;
        };
        "x-integration-id": {
            in: "header";
            description: string;
            type: "string";
            required: false;
        };
        "x-integration-alias": {
            in: "header";
            description: string;
            type: "string";
            required: false;
        };
        "x-integration-name": {
            in: "header";
            description: string;
            type: "string";
            required: false;
        };
        "x-user-id": {
            in: "header";
            description: string;
            type: "string";
            required: false;
        };
        "x-user-role": {
            in: "header";
            description: string;
            type: "string";
            required: false;
        };
    };
    errors: ({
        status: 500;
        type: string;
        description: string;
    } | {
        status: 401;
        type: string;
        description: string;
    } | {
        status: 403;
        type: string;
        description: string;
    } | {
        status: 413;
        type: string;
        description: string;
    } | {
        status: 400;
        type: string;
        description: string;
    } | {
        status: 415;
        type: string;
        description: string;
    } | {
        status: 405;
        type: string;
        description: string;
    } | {
        status: 404;
        type: string;
        description: string;
    } | {
        status: 409;
        type: string;
        description: string;
    } | {
        status: 410;
        type: string;
        description: string;
    } | {
        status: 429;
        type: string;
        description: string;
    } | {
        status: 402;
        type: string;
        description: string;
    })[];
    refs: {
        parameters: {};
        requestBodies: {
            upsertFileBody: true;
            updateFileMetadataBody: true;
            copyFileBody: true;
            setFilePassagesBody: true;
            createKnowledgeBaseBody: true;
            updateKnowledgeBaseBody: true;
        };
        responses: {
            upsertFileResponse: true;
            deleteFileResponse: true;
            listFilesResponse: true;
            getFileResponse: true;
            updateFileMetadataResponse: true;
            copyFileResponse: true;
            searchFilesResponse: true;
            listFilePassagesResponse: true;
            setFilePassagesResponse: true;
            listFileTagsResponse: true;
            listFileTagValuesResponse: true;
            createKnowledgeBaseResponse: true;
            deleteKnowledgeBaseResponse: true;
            updateKnowledgeBaseResponse: true;
            listKnowledgeBasesResponse: true;
        };
        schemas: {
            File: true;
        };
    };
    schemas: {
        File: {
            section: "files";
            schema: {
                type: "object";
                properties: {
                    id: {
                        type: "string";
                        description: string;
                    };
                    botId: {
                        type: "string";
                        description: string;
                    };
                    key: {
                        type: "string";
                        description: string;
                    };
                    url: {
                        type: "string";
                        description: string;
                    };
                    size: {
                        type: "number";
                        description: string;
                        nullable: true;
                    };
                    contentType: {
                        type: "string";
                        description: string;
                    };
                    tags: {
                        type: "object";
                        additionalProperties: {
                            type: "string";
                            maxLength: number;
                        };
                        description: string;
                    };
                    metadata: {
                        type: "object";
                        additionalProperties: {
                            nullable: true;
                        };
                        description: string;
                    };
                    createdAt: {
                        type: "string";
                        description: string;
                    };
                    updatedAt: {
                        type: "string";
                        description: string;
                    };
                    accessPolicies: {
                        type: "array";
                        items: {
                            type: "string";
                            enum: string[];
                        };
                        description: string;
                    };
                    index: {
                        type: "boolean";
                        description: string;
                    };
                    status: {
                        type: "string";
                        enum: string[];
                        description: string;
                    };
                    failedStatusReason: {
                        type: "string";
                        description: string;
                    };
                    expiresAt: {
                        type: "string";
                        description: string;
                    };
                    owner: {
                        type: "object";
                        properties: {
                            type: {
                                type: "string";
                                enum: string[];
                            };
                            id: {
                                type: "string";
                                description: string;
                            };
                            name: {
                                type: "string";
                                description: string;
                            };
                            alias: {
                                type: "string";
                                description: string;
                            };
                        };
                        required: string[];
                        additionalProperties: false;
                    };
                    indexingStack: {
                        type: "string";
                        enum: string[];
                        description: string;
                    };
                };
                required: string[];
                additionalProperties: false;
            };
        };
    };
    sections: {
        title: string;
        description: string;
        name: "files";
        operations: string[];
        schema: string;
    }[];
    options: {
        allowUnions: false;
    };
    security: "BearerAuth"[];
};
