import type { GDriveAccessor } from '../../accessor/gdrive.ts'; import type { PathSpec } from '../../types.ts'; import { type TokenManager } from '../google/client.ts'; import type { DriveFile } from '../google/drive.ts'; export interface DriveNode { id: string; name: string; mimeType: string; driveId: string | null; } export declare function rootContext(accessor: GDriveAccessor): Promise<[string, string | null]>; export declare function eaccesOnDenied(fn: (...args: A) => Promise): (...args: A) => Promise; export declare function isFolder(node: DriveNode): boolean; export declare function isNative(node: DriveNode): boolean; export declare function queryCandidates(segment: string): [string, string | null][]; export declare function driveTargetName(basename: string, node: DriveNode): string; export declare function nodeFromItem(item: DriveFile, driveId: string | null): DriveNode; export declare function resolveSegment(tm: TokenManager, parentId: string, segment: string, driveId: string | null, atRoot: boolean): Promise; export declare function resolveKey(accessor: GDriveAccessor, key: string): Promise; export declare function resolveDir(accessor: GDriveAccessor, key: string, virtual: string): Promise<[string, string | null]>; export declare function resolveParent(accessor: GDriveAccessor, path: PathSpec): Promise<[string, string | null]>; //# sourceMappingURL=resolve.d.ts.map