/// <reference types="react" />
import { Environment, SugaredRelativeSingleField } from '@contember/binding';
import { ControlProps } from '@contember/ui';
import type { SimpleRelativeSingleFieldProps } from '../auxiliary';
export type SlugPrefix = string | ((environment: Environment) => string);
export type SlugFieldProps = SimpleRelativeSingleFieldProps & ControlProps<string> & {
    derivedFrom: SugaredRelativeSingleField['field'];
    unpersistedHardPrefix?: SlugPrefix;
    persistedHardPrefix?: SlugPrefix;
    persistedSoftPrefix?: SlugPrefix;
    linkToExternalUrl?: boolean;
};
/**
 * @group Form Fields
 */
export declare const SlugField: React.NamedExoticComponent<SlugFieldProps>;
export declare const SlugFieldInner: React.NamedExoticComponent<SlugFieldProps>;
//# sourceMappingURL=SlugField.d.ts.map