{"version":3,"file":"azure_blob_storage_file.d.cts","names":["BaseDocumentLoader","UnstructuredLoaderOptions","AzureBlobStorageFileConfig","AzureBlobStorageFileLoaderConfig","AzureBlobStorageFileLoader","azureConfig","unstructuredConfig","Record","_langchain_core_documents0","Document","Promise"],"sources":["../../../src/document_loaders/web/azure_blob_storage_file.d.ts"],"sourcesContent":["import { BaseDocumentLoader } from \"@langchain/core/document_loaders/base\";\nimport { UnstructuredLoaderOptions } from \"../fs/unstructured.js\";\n/**\n * Interface representing the configuration for accessing a specific file\n * in Azure Blob Storage.\n */\ninterface AzureBlobStorageFileConfig {\n    connectionString: string;\n    container: string;\n    blobName: string;\n}\n/**\n * Interface representing the configuration for the\n * AzureBlobStorageFileLoader. It contains the Azure Blob Storage file\n * configuration and the options for the UnstructuredLoader.\n */\ninterface AzureBlobStorageFileLoaderConfig {\n    azureConfig: AzureBlobStorageFileConfig;\n    unstructuredConfig?: UnstructuredLoaderOptions;\n}\n/**\n * Class representing a document loader that loads a specific file from\n * Azure Blob Storage. It extends the BaseDocumentLoader class and\n * implements the DocumentLoader interface.\n * @example\n * ```typescript\n * const loader = new AzureBlobStorageFileLoader({\n *   azureConfig: {\n *     connectionString: \"{connectionString}\",\n *     container: \"{containerName}\",\n *     blobName: \"{blobName}\",\n *   },\n * });\n * const docs = await loader.load();\n * ```\n */\nexport declare class AzureBlobStorageFileLoader extends BaseDocumentLoader {\n    get lc_secrets(): {\n        [key: string]: string;\n    };\n    private readonly connectionString;\n    private readonly container;\n    private readonly blobName;\n    private readonly unstructuredConfig?;\n    constructor({ azureConfig, unstructuredConfig }: AzureBlobStorageFileLoaderConfig);\n    /**\n     * Method to load a specific file from Azure Blob Storage. It creates a\n     * temporary directory, constructs the file path, downloads the file, and\n     * loads the documents using the UnstructuredLoader. The loaded documents\n     * are returned, and the temporary directory is deleted.\n     * @returns An array of documents loaded from the file in Azure Blob Storage.\n     */\n    load(): Promise<import(\"@langchain/core/documents\").Document<Record<string, any>>[]>;\n}\nexport {};\n//# sourceMappingURL=azure_blob_storage_file.d.ts.map"],"mappings":";;;;;;;;;AACkE;AAK9B,UAA1BE,0BAAAA,CAUAC;EAoBWC,gBAAAA,EAAAA,MAAAA;EAQHC,SAAAA,EAAAA,MAAAA;EAAaC,QAAAA,EAAAA,MAAAA;;;;;;AAR2C;UApBhEH,gCAAAA;eACOD;uBACQD;;;;;;;;;;;;;;;;;;cAkBJG,0BAAAA,SAAmCJ,kBAAAA;;;;;;;;;;;KAQHG;;;;;;;;UAQzCO,QAA2DF,0BAAAA,CAAfC,SAASF"}