import Text from './Text'; import { SlugContract, SlugTypes } from '@tensei/common'; export declare class Slug extends Text implements SlugContract { private config; component: { form: string; index: string; detail: string; }; from(field: string, inputName?: string): this; type(type: SlugTypes): this; editable(): this; serialize(): { slugFrom: string; slugFromInputName: string; slugType: string; slugEditable: boolean; truncate: number; name: string; sidebar: boolean; isVirtual: boolean; component: { form: string; index: string; detail: string; }; inputName: string; isSortable: boolean; isFilterable: boolean; description: string; rules: string[]; defaultValue: any; isNullable: boolean; isUnique: boolean; isSearchable: boolean; showOnIndex: boolean; showOnDetail: boolean; showOnUpdate: boolean; showOnCreation: boolean; updateRules: string[]; creationRules: string[]; hidden: boolean; showOnPanel: boolean; fieldName: string; camelCaseName: string; capsDatabasefieldName: string; databaseField: string; attributes: { [key: string]: string; }; selectOptions?: { label: string; value: string; }[] | undefined; defaultToNow?: boolean | undefined; isUnsigned?: boolean | undefined; trueLabel?: string | undefined; falseLabel?: string | undefined; isRelationshipField: boolean; camelCaseNamePlural: string; pascalCaseName: string; snakeCaseName: string; snakeCaseNamePlural: string; }; } export declare const slug: (name: string, databaseField?: string | undefined) => Slug; export default Slug;