import { IStringHelper } from 'h3lp';
import { ObjType, PropertyType, Type } from 'typ3s';
export declare class SchemaHelper {
    private readonly str;
    readonly DEFAULT_TYPE = "string";
    readonly DEFAULT_LENGTH = 80;
    constructor(str: IStringHelper);
    newId(): string;
    equalName(name1?: string, name2?: string): boolean;
    entityName(name: string): string;
    propertyName(name: string): string;
    refPropertyName(entityName: string, propertyName: string): string;
    capitalize(name: string): string;
    indexName(name: string): string;
    relationName(name: string): string;
    getPk(objType: ObjType): PropertyType | undefined;
    getPkName(objType: ObjType): string;
    getFk(objType: ObjType): PropertyType | undefined;
    getKey(uniques: PropertyType[]): PropertyType | undefined;
    type(type?: string, length?: number): string | undefined;
    length(length?: number): number | undefined;
    lengthFromType(type: Type): number | undefined;
}
