import { type CollectionField } from 'pocketbase-svelte'; import { type Config } from './utils.js'; type Field = CollectionField & { maxSelect?: number; type: FieldType; }; type Collection = { id: string; name: string; type: 'auth' | 'base' | 'view'; fields: Array; }; export declare const validTypes: readonly ["text", "number", "bool", "date", "email", "password", "url", "editor", "autodate", "select", "file", "json", "geoPoint", "relation"]; export type FieldType = (typeof validTypes)[number]; export declare const getCollections: (config: Config) => Promise; export declare const syncAction: (config: Config, outputFile: string) => Promise; export declare const processTypes: (config: Config, typesDir: string) => Promise; export declare const debouncedProcessTypes: (config: Config, typesDir: string) => void; export {};