import { BaseComponentContext } from '@microsoft/sp-component-base'; interface ISpAPI { getADAcesstoken: () => Promise; downloadBingContent: (absoluteFileUrl: string, fileName: string) => Promise; downLoadSpOrOneDriveContent: (driveId: string, itemId: string, fileName: string) => Promise; } export declare const useSpAPI: (context: BaseComponentContext) => ISpAPI; export {}; //# sourceMappingURL=useSpAPI.d.ts.map