import type { sheets_v4 } from '@googleapis/sheets'; import type { DataFilter } from '../entities/DataFilter.js'; import { DeveloperMetadataLocation } from '../entities/DeveloperMetadataLocation.js'; /** * Data filters cross the boundary in both directions: requests carry them in * (where every nesting level needs its `undefined` keys stripped for Google's * types), and responses echo them back (where nulls clean to undefined and * enums narrow). These converters are that boundary, used by every * `*_by_data_filter` operation and the developer metadata search. */ /** Convert an entity metadata location into the REST request shape (forGoogle is shallow; each level strips its own undefined keys). */ export declare function toGoogleDeveloperMetadataLocation(location: DeveloperMetadataLocation): sheets_v4.Schema$DeveloperMetadataLocation; /** Convert an entity data filter into the REST request shape, stripping undefined at every level. */ export declare function toGoogleDataFilter(filter: DataFilter): sheets_v4.Schema$DataFilter; /** Project a REST developer metadata location, cleaning nulls and narrowing enums. */ export declare function projectDeveloperMetadataLocation(data: sheets_v4.Schema$DeveloperMetadataLocation): DeveloperMetadataLocation; /** Project a REST data filter (as echoed in responses), cleaning nulls to undefined. */ export declare function projectDataFilter(data: sheets_v4.Schema$DataFilter): DataFilter; //# sourceMappingURL=filters.d.ts.map