import { DocumentReference, FirestoreError } from './firestore'; declare type PathFunc = (...args: any[]) => string; export interface Props { path: string | PathFunc; } interface Data { [key: string]: any; } declare type Action = (data?: Data, ...args: any[]) => Promise | void; declare type ReturnType = [Action, boolean]; export default function createSetDocAction(props: Props): ReturnType; export {};