import type { CredentialsParams, RepoDesignation } from "../types/public"; export interface LfsPathInfo { oid: string; size: number; pointerSize: number; } export interface CommitInfo { id: string; title: string; date: Date; } export interface SecurityFileStatus { status: string; } export interface PathInfo { path: string; type: string; /** * Not available for bucket repos. */ oid?: string; size: number; /** * Only defined when path is LFS pointer. Not available for bucket repos. */ lfs?: LfsPathInfo; /** * Xet-backed hash. Always present for bucket file entries. */ xetHash?: string; /** * Not available for bucket repos, use {@link uploadedAt} instead. */ lastCommit?: CommitInfo; /** * Only available for bucket repos. */ uploadedAt?: string; securityFileStatus?: SecurityFileStatus; } export declare function pathsInfo(params: { repo: RepoDesignation; paths: string[]; expand: true; revision?: string; hubUrl?: string; /** * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. */ fetch?: typeof fetch; } & Partial): Promise<(PathInfo & { lastCommit: CommitInfo; securityFileStatus: SecurityFileStatus; })[]>; export declare function pathsInfo(params: { repo: RepoDesignation; paths: string[]; expand?: boolean; revision?: string; hubUrl?: string; /** * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. */ fetch?: typeof fetch; } & Partial): Promise; //# sourceMappingURL=paths-info.d.ts.map