/** * query-interface.guards.ts * * Contains all [typeguards](https://www.typescriptlang.org/docs/handbook/2/narrowing.html) for the query interface * The actual implementation is in [query-interface.ts](./query-interface.ts) * Types in [query-interface.types.ts](./query-interface.types.ts) */ import { Type, TypeOrLoad, TypeLoadArray, TypeArray, TypeBoolean, TypeLoadCoalesce, TypeDate, TypeJson, TypeLoadColumn, TypeLoadNamed, TypeBigInt, TypeLoadFunction, TypeLoadFunctionArgument, TypeLoadOperator, TypeLoadRecord, TypeLoadStar, TypeNull, TypeNumber, TypeString, TypeLoadUnion, TypeUnknown, TypeAny, TypeLoadArrayItem, TypeNullable, TypeUnion, TypeObjectLiteral, TypeLoadObjectLiteral, TypeLiteral, TypeLoadAsArray, TypeComposite, TypeLoadCompositeAccess, TypeLoadOptional, TypeOptional, TypeLoadColumnCast, SourceValues, Source, SourceQuery, SourceTable, TypeLoad, TypeBuffer } from './query-interface.types'; export declare const isType: (item: TypeOrLoad) => item is Type; export declare const isTypeLoad: (item: TypeOrLoad) => item is TypeLoad; export declare const isTypeNullable: (item: TypeOrLoad) => item is TypeNullable; export declare const isTypeLiteral: (item: TypeOrLoad) => item is TypeLiteral; export declare const isSourceTable: (item: Source) => item is SourceTable; export declare const isSourceQuery: (item: Source) => item is SourceQuery; export declare const isSourceValues: (item: Source) => item is SourceValues; export declare const isTypeString: (type: TypeOrLoad) => type is TypeString; export declare const isTypeNumber: (type: TypeOrLoad) => type is TypeNumber; export declare const isTypeBigInt: (type: TypeOrLoad) => type is TypeBigInt; export declare const isTypeBoolean: (type: TypeOrLoad) => type is TypeBoolean; export declare const isTypeDate: (type: TypeOrLoad) => type is TypeDate; export declare const isTypeBuffer: (type: TypeOrLoad) => type is TypeBuffer; export declare const isTypeNull: (type: TypeOrLoad) => type is TypeNull; export declare const isTypeJson: (type: TypeOrLoad) => type is TypeJson; export declare const isTypeUnknown: (type: TypeOrLoad) => type is TypeUnknown; export declare const isTypeAny: (type: TypeOrLoad) => type is TypeAny; export declare const isTypeCoalesce: (type: TypeOrLoad) => type is TypeLoadCoalesce; export declare const isTypeLoadRecord: (type: TypeOrLoad) => type is TypeLoadRecord; export declare const isTypeLoadFunction: (type: TypeOrLoad) => type is TypeLoadFunction; export declare const isTypeLoadColumn: (type: TypeOrLoad) => type is TypeLoadColumn; export declare const isTypeLoadStar: (type: TypeOrLoad) => type is TypeLoadStar; export declare const isTypeLoadFunctionArgument: (type: TypeOrLoad) => type is TypeLoadFunctionArgument; export declare const isTypeLoadOperator: (type: TypeOrLoad) => type is TypeLoadOperator; export declare const isTypeLoadNamed: (type: TypeOrLoad) => type is TypeLoadNamed; export declare const isTypeLoadArray: (type: TypeOrLoad) => type is TypeLoadArray; export declare const isTypeLoadAsArray: (type: TypeOrLoad) => type is TypeLoadAsArray; export declare const isTypeLoadObjectLiteral: (type: TypeOrLoad) => type is TypeLoadObjectLiteral; export declare const isTypeLoadUnion: (type: TypeOrLoad) => type is TypeLoadUnion; export declare const isTypeArray: (type: TypeOrLoad) => type is TypeArray; export declare const isTypeUnion: (type: TypeOrLoad) => type is TypeUnion; export declare const isTypeObjectLiteral: (type: TypeOrLoad) => type is TypeObjectLiteral; export declare const isTypeLoadArrayItem: (type: TypeOrLoad) => type is TypeLoadArrayItem; export declare const isTypeComposite: (type: TypeOrLoad) => type is TypeComposite; export declare const isTypeLoadCompositeAccess: (type: TypeOrLoad) => type is TypeLoadCompositeAccess; export declare const isTypeLoadOptional: (type: TypeOrLoad) => type is TypeLoadOptional; export declare const isTypeOptional: (type: TypeOrLoad) => type is TypeOptional; export declare const isTypeLoadColumnCast: (type: TypeOrLoad) => type is TypeLoadColumnCast; export declare const isTypeEqual: (a: TypeOrLoad, b: TypeOrLoad) => boolean;