import { NameWithEmptyLabelsError, RootNameIncludesOtherLabelsError } from '../../errors/utils.js'; import { type CheckLabelErrorType, type SaveNameErrorType } from './labels.js'; import { type Label, type NormalizeErrorType } from './normalize.js'; export type ValidateNameErrorType = NameWithEmptyLabelsError | RootNameIncludesOtherLabelsError | CheckLabelErrorType | NormalizeErrorType | SaveNameErrorType; export declare const validateName: (name: string) => string; export type ParsedInputResult = { type: 'name' | 'label'; normalized: string | undefined; isValid: boolean; isShort: boolean; is2LD: boolean; isETH: boolean; labelDataArray: Label[]; }; export declare const parseInput: (input: string) => ParsedInputResult; /** * Checks if a label is a 2LD and is the .eth TLD */ export declare const checkIsDotEth: (labels: string[]) => boolean; //# sourceMappingURL=validation.d.ts.map