import { FileStat, type PathSpec } from '../../types.ts';
import type { ScopeMatch } from '../hierarchy/scope.ts';
import type { DriveApi } from '../gdrive/api.ts';
import type { DriveFile } from './drive.ts';
/**
 * A native app file as its corpus listing names it and stat answers. The
 * size stays null: Drive reports the source document's storage size, not the
 * rendered JSON length (FileStat.size must be render-derived or null, see the
 * CLAUDE.md FUSE rules). The source size rides in `extra`. Mirrors Python's
 * `app_file`.
 */
export declare function appFile(name: string, item: DriveFile): FileStat;
/**
 * Resolve a native app file by the id in its name, without an account-wide
 * search: a path no listing has named is fetched alone. Mirrors Python's
 * `resolve_app_entry`.
 */
export declare function resolveAppEntry(drive: DriveApi, match: ScopeMatch, path: PathSpec, mime: string, filename: (title: string, id: string, modified: string) => string): Promise<FileStat>;
//# sourceMappingURL=entry.d.ts.map