import { SpaceResource } from '@opencloud-eu/web-client'; /** * Space a `driveAliasAndItem` points at, matched by drive alias only. * * Drive aliases are NOT unique: two spaces called `test` both end up as * `project/test`. Prefer `getSpaceForDriveAliasAndItem` because of that. */ export declare function getSpaceByDriveAliasAndItem(spaces: SpaceResource[], driveAliasAndItem: string): SpaceResource | undefined; /** * Space a route addresses, from its `driveAliasAndItem` param and its `fileId` * query. The file id wins because it is unique, whereas a drive alias is shared * by every space of the same name. */ export declare function getSpaceForDriveAliasAndItem(spaces: SpaceResource[], driveAliasAndItem: string, fileId?: string): SpaceResource | undefined;