import { GoogleFilePickerCallbackFunctionType } from "../types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType"; /** * Service class for interacting with the Google File Picker API. */ export declare class GoogleFilePickerService { private clientId; private scopes; private tokenClient; private apiKey; private appId; private accessToken; constructor(params: { clientId: string; apiKey: string; appId: string; scopes: string; }); private setClientId; private getClientId; private setScopes; private getScopes; private setTokenClient; private getTokenClient; private setApiKey; private getApiKey; private setAppId; private getAppId; private getAccessToken; private setAccessToken; static loadAndExecuteGoogleFilePickerScripts(): Promise; /** * Initializes the Google File Picker. * @param params - The initialization parameters. */ initializeGoogleFilePicker(params: { googleFilePickerCallback: GoogleFilePickerCallbackFunctionType; }): void; /** * Creates the file picker. * @param pickerCallback - The callback function for the file picker. */ private createPicker; /** * Fetches Google Drive file information from the file ID. * @param googleFileId - The Google Drive file ID. */ fetchGoogleDriveFileInfoFromFileId(googleFileId: string): Promise; /** * Gets the file blob from the Google Drive file ID. * @param googleFileId - The Google Drive file ID. * @returns The file blob. */ getFileBlobFromGoogleDriveFileId(googleFileId: string): Promise; /** * Creates a URL from the file blob. * @param blob - The file blob. * @returns The URL created from the blob. */ static createUrlFromBlob(blob: Blob): string; } //# sourceMappingURL=GoogleFilePickerService.d.ts.map