export interface AuthObject { openIntFilePickerMagicLink: string; sharepoint?: Omit; googleDrive?: Omit; } export type SharepointConnectionDetails = { type: 'sharepoint'; accessToken: string; clientId: string; }; export type GoogleDriveConnectionDetails = { type: 'googledrive'; accessToken: string; clientId: string; }; export type ConnectionDetails = SharepointConnectionDetails | GoogleDriveConnectionDetails; export interface FilePickerOptions { isOpen?: boolean; onClose?: () => void; onSelect?: (files: SelectedFile[]) => void; theme?: 'light' | 'dark'; colors?: ThemeColors; multiselect?: boolean; folderSelect?: boolean; } export type SelectedFile = { id: string; name: string; type: 'file' | 'folder'; driveId?: string; driveGroupId?: string; }; export interface PickerInterface { open(): Promise; close(): void; } export interface IAuthenticateCommand { command: string; resource: string; type: string; } export interface PickerConfiguration { sdk: string; entry: { sharePoint?: { siteUrl?: string; isSiteAdmin?: boolean; }; oneDrive?: Record; }; authentication: Record; messaging: { origin: string; channelId: string; }; selection?: { mode: 'multiple' | 'single'; maxCount?: number; }; typesAndSources?: { mode: 'all' | 'files' | 'folders'; pivots?: Array<'recent' | 'shared' | 'discover'>; }; } export interface ThemeColors { accent?: string; background?: string; border?: string; button?: string; buttonLight?: string; buttonForeground?: string; buttonHover?: string; buttonStroke?: string; buttonSecondary?: string; buttonSecondaryForeground?: string; buttonSecondaryStroke?: string; buttonSecondaryHover?: string; card?: string; cardForeground?: string; foreground?: string; navbar?: string; primary?: string; primaryForeground?: string; secondary?: string; secondaryForeground?: string; sidebar?: string; tab?: string; } export declare const defaultThemeColors: Partial; export declare const defaultDarkThemeColors: Partial; //# sourceMappingURL=types.d.ts.map