/** * Execute a sequence of operations. * Wraps `language-common/execute`, and prepends initial state for http. * @example * execute( * create('foo'), * delete('bar') * )(state) * @private * @param {Operations} operations - Operations to be performed. * @returns {Operation} */ export function execute(...operations: Operations): Operation; /** * Load files to BigQuery * @public * @example * load( * './tmp/files', * 'my-bg-project', * 'test01', * 'product-codes', * { * schema: 'FREQ:STRING,DATATYPE:STRING,PRODUCTCODE:STRING,PARTNER:STRING', * writeDisposition: 'WRITE_APPEND', * skipLeadingRows: 1, * schemaUpdateOptions: ['ALLOW_FIELD_ADDITION'], * createDisposition: 'CREATE_IF_NEEDED', * } * ) * @function * @param {string} dirPath - the path to your local directory * @param {string} projectId - your bigquery project id * @param {string} datasetId - your bigquery dataset id * @param {string} tableId - the name of the table you'd like to load * @param {object} loadOptions - options to pass to the bigquery.load() API * @param {function} callback - and optional callback * @returns {Operation} */ export function load(dirPath: string, projectId: string, datasetId: string, tableId: string, loadOptions: object, callback: Function): Operation; export { fn, fnIf, alterState, dataPath, combine, dataValue, each, field, fields, lastReferenceValue, merge, sourceValue, parseCsv } from "@openfn/language-common";