import type { CLIInvocation } from '@struktoai/mirage-core/commands/cli/types'; import type { CommandFnResult } from '@struktoai/mirage-core/commands/config'; interface Row { name: string; data: Uint8Array; } /** Apply the line's --include and --exclude globs. */ export declare function keep(rows: Row[], include: readonly string[], exclude: readonly string[]): Row[]; /** * The repo-relative directory an upload's third operand names. * * A Hub path is repo-relative with no leading slash and no `.` component, so * the operand is normalized rather than used verbatim: `hf upload repo /local .` * means the repository root, and taking the dot literally stored every file * under `./`, which is a path the resolve endpoint then could not find. */ export declare function inRepoBase(value: string): string; /** Upload a workspace file or folder to a repository, as one commit. */ export declare function uploadCmd(inv: CLIInvocation): Promise; export {}; //# sourceMappingURL=upload.d.ts.map