import type { BinaryStream } from "node-opcua-binary-stream"; import { type ExpandedNodeId, NodeId } from "node-opcua-nodeid"; import { TypeSchemaBase } from "./builtin_types.js"; import type { DataTypeFactory } from "./datatype_factory.js"; import { type BitField, type FieldType, type IStructuredTypeSchema, type StructuredTypeOptions } from "./types.js"; export declare class StructuredTypeSchema extends TypeSchemaBase implements IStructuredTypeSchema { fields: FieldType[]; dataTypeNodeId: NodeId; baseType: string; private _baseSchema; documentation?: string; isValid?(options: unknown): boolean; decodeDebug?(stream: BinaryStream, options: unknown): unknown; constructHook?(options: unknown): unknown; encodingDefaultBinary?: ExpandedNodeId; encodingDefaultXml?: ExpandedNodeId; encodingDefaultJson?: ExpandedNodeId; bitFields?: BitField[]; private _dataTypeFactory; constructor(options: StructuredTypeOptions); getDataTypeFactory(): DataTypeFactory; getBaseSchema(): IStructuredTypeSchema | null; getPossibleFieldsLocal(): string[]; toString(): string; } /** * extract a list of all possible fields for a schema * (by walking up the inheritance chain) * */ export declare function extractAllPossibleFields(schema: IStructuredTypeSchema): string[]; /** * check correctness of option fields against scheme * * */ export declare function check_options_correctness_against_schema(obj: { constructor: Function & { possibleFields?: string[]; }; }, schema: IStructuredTypeSchema, optionsIn: unknown): boolean; export declare function buildStructuredType(schemaLight: Omit): IStructuredTypeSchema; //# sourceMappingURL=structured_type_schema.d.ts.map