1/// <reference types="xcode" />
2import { ConfigPlugin, XcodeProject } from '../Plugin.types';
3/**
4 * Create a build source file and link it to Xcode.
5 *
6 * @param config
7 * @param props.filePath relative to the build source folder. ex: `ViewController.swift` would be created in `ios/myapp/ViewController.swift`.
8 * @param props.contents file contents to write.
9 * @param props.overwrite should the contents overwrite any existing file in the same location on disk.
10 * @returns
11 */
12export declare const withBuildSourceFile: ConfigPlugin<{
13    filePath: string;
14    contents: string;
15    overwrite?: boolean;
16}>;
17/**
18 * Add a source file to the Xcode project and write it to the file system.
19 *
20 * @param nativeProjectRoot absolute path to the native app root `user/app/ios`
21 * @param filePath path relative to the `nativeProjectRoot` for the file to create `user/app/ios/myapp/foobar.swift`
22 * @param fileContents string file contents to write to the `filePath`
23 * @param overwrite should write file even if one already exists
24 */
25export declare function createBuildSourceFile({ project, nativeProjectRoot, filePath, fileContents, overwrite, }: {
26    project: XcodeProject;
27    nativeProjectRoot: string;
28    filePath: string;
29    fileContents: string;
30    overwrite?: boolean;
31}): XcodeProject;
32