import type { BaseField, Collection, CollectionFile, CollectionFileWithDefaults, CollectionWithDefaults, CollectionsWithDefaults, Config, ConfigWithDefaults, Entry, Field, InferredField, SortableField } from '@staticcms/core'; import type { InferrableField } from '@staticcms/core/constants/fieldInference'; export declare function fileForEntry(collection: CollectionWithDefaults | undefined | null, slug?: string): CollectionFileWithDefaults | undefined; export declare function selectFolderEntryExtension(collection: CollectionWithDefaults): string; export declare function selectFileEntryLabel(collection: CollectionWithDefaults, slug: string): string | undefined; export declare function selectEntryPath(collection: CollectionWithDefaults, slug: string): string | undefined; export declare function selectEntrySlug(collection: CollectionWithDefaults, path: string): string | undefined; export declare function selectAllowNewEntries(collection: CollectionWithDefaults): boolean; export declare function selectAllowDeletion(collection: CollectionWithDefaults): boolean; export declare function selectAllowPublish(collection: CollectionWithDefaults, slug: string | undefined): boolean | undefined; export declare function selectTemplateName(collection: CollectionWithDefaults, slug: string): string; export declare function selectEntryCollectionTitle(collection: CollectionWithDefaults | undefined, entry: Entry): string; export declare function selectDefaultSortableFields(collection: CollectionWithDefaults, config: Config): string[]; export declare function getSortableFields(collection: CollectionWithDefaults | undefined, t: (key: string) => string): SortableField[]; export declare function getViewFilters(collection?: CollectionWithDefaults): import("@staticcms/core").ViewFiltersWithDefaults | undefined; export declare function getViewGroups(collection?: CollectionWithDefaults): import("@staticcms/core").ViewGroupsWithDefaults | undefined; export declare function selectFieldsComments(collection: CollectionWithDefaults, entryMap: Entry): Record; export declare function getFileFromSlug(collection: Collection, slug: string): CollectionFile | undefined; export declare function selectFieldsWithMediaFolders(collection: CollectionWithDefaults, slug: string): Field[]; export declare function selectMediaFolders(config: ConfigWithDefaults, collection: CollectionWithDefaults, entry: Entry): string[]; export declare function getFieldsNames(fields: Field[] | undefined, prefix?: string): string[]; export declare function traverseFields(fields: Field[], updater: (field: Field) => Field, done?: () => boolean): Field[]; export declare function updateFieldByKey(collection: CollectionWithDefaults, key: string, updater: (field: Field) => Field): CollectionWithDefaults; export declare function selectIdentifier(collection: CollectionWithDefaults): string | undefined; export declare function selectInferredField(collection: CollectionWithDefaults | undefined, fieldName: InferrableField): string | null | undefined; export declare function getInferredFields(collection: CollectionWithDefaults | undefined): Partial>; export declare function useInferredFields(collection: CollectionWithDefaults | undefined): Partial>; export declare function useInferredFieldsByName(collection: CollectionWithDefaults): Record; export declare function getDefaultPath(collections: CollectionsWithDefaults, useWorkflow: boolean): string; export declare function getFields(collection: CollectionWithDefaults | undefined, slug?: string): Field[];