import { ImageLibrarySharedDrive } from '@bluepic/types';
export type NormalizedSharedItem = {
    src: string;
    key: string;
    width: number;
    height: number;
    previews: {
        small: {
            src: string;
            width: number;
            height: number;
        };
        medium: {
            src: string;
            width: number;
            height: number;
        };
    };
};
export type OneDriveSharedItem = {
    '@microsoft.graph.downloadUrl': string;
    cTag: string;
    createdDateTime: string;
    eTag: string;
    file: {
        mimeType: string;
        hashes: {
            [k: string]: string;
        };
    };
    id: string;
    image: {
        width: number;
        height: number;
    };
    size: number;
    webUrl: string;
};
export type GDriveSharedItem = {
    kind: string;
    thumbnailLink: string;
    mimeType: string;
    createdTime: string;
    fileExtension: string;
    fullFileExtension: string;
    name: string;
    originalFilename: string;
    webContentLink: string;
    webViewLink: string;
    size: string;
    shared: boolean;
    modifiedTime: string;
    sha256Checksum: string;
    imageMediaMetadata?: {
        width: number;
        height: number;
        rotation: number;
        time: string;
    };
};
export default function useSharedDrive(service: ImageLibrarySharedDrive['service'], sharedUrl: string, width: number, height: number): {
    sharedItems: import("vue").Ref<NormalizedSharedItem[] | undefined, NormalizedSharedItem[] | undefined>;
    fetchSharedDrive: () => Promise<void>;
};
