import * as functions from 'firebase-functions'; /** * Count number of documents in a category * @param change - change ref * @param context - context event * @param counter - counter field name, default colCount * @param pathField - default catPath * @param arrayField - default catArray * @param field - default 'category' * @param catCol - default 'categories' */ export declare function catDocCounter(change: functions.Change, context: functions.EventContext, counter?: string, pathField?: string, arrayField?: string, field?: string, catCol?: string): Promise; /** * Count number of subcategories in a category * @param change - change ref * @param context - event context * @param counter - default catCount * @param parentField - parent category field name * @param pathField - default catPath */ export declare function subCatCounter(change: functions.Change, context: functions.EventContext, counter?: string, parentField?: string, pathField?: string): Promise;