import { Constructor, Expression } from '.'; import { BooleanType, CharacterArg } from '../types'; import { AnyExpression } from './any'; export declare function StringOps(Base: T): { new (...args: any[]): { /** * @description Checks whether the string is in the specified Unicode normalization form. * The optional form key word specifies the form: NFC (the default), NFD, NFKC, or NFKD. * This expression can only be used when the server encoding is UTF8. * Note that checking for normalization using this expression is often faster than * normalizing possibly already normalized strings. */ isNormalized(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | undefined): Expression; /** * @description Checks whether the string is in the specified Unicode normalization form. * The optional form key word specifies the form: NFC (the default), NFD, NFKC, or NFKD. * This expression can only be used when the server encoding is UTF8. * Note that checking for normalization using this expression is often faster than * normalizing possibly already normalized strings. */ isNotNormalized(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | undefined): Expression; /** * BooleanExpr: LIKE '%some%' * @param {string} operand */ like(pattern: CharacterArg, escape?: string | import("../types").StringExpression> | import("../types").StringExpression> | import("../types").StringExpression> | undefined): Expression; /** * BooleanExpr: NOT LIKE '%some%' * @param {string} operand */ notLike(pattern: CharacterArg, escape?: string | import("../types").StringExpression> | import("../types").StringExpression> | import("../types").StringExpression> | undefined): Expression; /** * BooleanExpr: SIMILAR TO '%some%' * @param {string} operand */ similarTo(pattern: CharacterArg, escape?: string | import("../types").StringExpression> | import("../types").StringExpression> | import("../types").StringExpression> | undefined): Expression; /** * BooleanExpr: NOT SIMILAR TO '%some%' * @param {string} operand */ notSimilarTo(pattern: CharacterArg, escape?: string | import("../types").StringExpression> | import("../types").StringExpression> | import("../types").StringExpression> | undefined): Expression; /** * @description String matches regular expression * Case sensitively operator: ~ * Case insensitively operator: ~* */ matchRegex(pattern: CharacterArg, caseSensitively?: boolean): Expression; /** * @description String does not matches regular expression * Case sensitively operator: !~ * Case insensitively operator: !~* */ notMatchRegex(pattern: CharacterArg, caseSensitively?: boolean): Expression; type: import("../types").Type, boolean, any>; alias?: string | undefined; columns?: string[] | undefined; as(alias: string, columns?: string[] | undefined): any; toQuery(start?: number): [string, any[]]; toSource(): import("../template").Template; cast, boolean, any>>(type: NT): Expression; concat(operand: any): AnyExpression, boolean, any>>; eq(operand: any): import("../types").BooleanExpression; ne(operand: any): import("../types").BooleanExpression; is(operand: boolean | "UNKNOWN" | null): import("../types").BooleanExpression; isNot(operand: boolean | "UNKNOWN" | null): import("../types").BooleanExpression; isDistinctFrom(operand: any): import("../types").BooleanExpression; isNotDistinctFrom(operand: any): import("../types").BooleanExpression; gt(operand: any): import("../types").BooleanExpression; lt(operand: any): import("../types").BooleanExpression; gte(operand: any): import("../types").BooleanExpression; lte(operand: any): import("../types").BooleanExpression; gl(operand: any): import("../types").BooleanExpression; between(from: any, to: any): import("../types").BooleanExpression; notBetween(from: any, to: any): import("../types").BooleanExpression; betweenSymetric(from: any, to: any): import("../types").BooleanExpression; notBetweenSymetric(from: any, to: any): import("../types").BooleanExpression; in(subquery: any): import("../types").BooleanExpression; in(...operands: any[]): import("../types").BooleanExpression; notIn(subquery: any): import("../types").BooleanExpression; notIn(...operands: any[]): import("../types").BooleanExpression; contain(arg: any): import("../types").BooleanExpression; contained(arg: any): import("../types").BooleanExpression; strings: string[]; literals: any[]; readonly text: string; readonly values: any[]; }; } & T;