@remotion/studio
Version:
APIs for interacting with the Remotion Studio
15 lines (14 loc) • 542 B
TypeScript
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type { ScriptLine } from '@remotion/studio-shared';
/**
*
* @param {number} line The line number to provide context around.
* @param {number} count The number of lines you'd like for context.
* @param {string[] | string} lines The source code.
*/
export declare function getLinesAround(line: number, count: number, lines: string[]): ScriptLine[];