import type { Tagged } from "type-fest"; import type { RunnableMigration } from "umzug"; export declare function wrapMigration(hooks: { runBefore?: () => void | Promise; runAfter?: () => void | Promise; }, migration: RunnableMigration): { down?: import("umzug").MigrationFn; up(params: import("umzug").MigrationParams): Promise; name: string; path?: string; }; export declare function assertStringInOptions(string: T, options: readonly U[], optionGroupName: string): asserts string is T & U; export declare function assertUnreachable(type: never): never; /** Represents a file's basename (filename without directory path, but including extension) */ export type FileBaseName = Tagged; export type AbsolutePath = Tagged; /** * Extracts the basename from a path and returns it as a FileBaseName. * If the input is already a basename (no path separators), it is returned as-is. */ export declare function toFileBaseName(pathOrName: string): FileBaseName; export declare function toAbsolutePath(thePath: string): AbsolutePath; //# sourceMappingURL=utils.d.ts.map