import type { Schema } from "@frictionless-ts/metadata"; import * as pl from "nodejs-polars"; import type { Table } from "../table/index.ts"; import type { SchemaOptions } from "./Options.ts"; export interface InferSchemaOptions extends SchemaOptions { sampleRows?: number; confidence?: number; commaDecimal?: boolean; monthFirst?: boolean; keepStrings?: boolean; } export declare function inferSchemaFromTable(table: Table, options?: InferSchemaOptions): Promise; export declare function inferSchemaFromSample(sample: pl.DataFrame, options?: Exclude): Schema;